Record Class BedrockIrisGlintPrograms.Key
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.render.compat.iris.BedrockIrisGlintPrograms.Key
- Enclosing interface:
BedrockIrisGlintPrograms
public static record BedrockIrisGlintPrograms.Key(net.irisshaders.iris.pipeline.programs.ShaderKey body, BedrockIrisGlint.Lighting lighting)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKey(net.irisshaders.iris.pipeline.programs.ShaderKey body, BedrockIrisGlint.Lighting lighting) Creates an instance of aKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionnet.irisshaders.iris.pipeline.programs.ShaderKeybody()Returns the value of thebodyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lighting()Returns the value of thelightingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Key
public Key(net.irisshaders.iris.pipeline.programs.ShaderKey body, BedrockIrisGlint.Lighting lighting) Creates an instance of aKeyrecord class.- Parameters:
body- the value for thebodyrecord componentlighting- the value for thelightingrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
body
public net.irisshaders.iris.pipeline.programs.ShaderKey body()Returns the value of thebodyrecord component.- Returns:
- the value of the
bodyrecord component
-
lighting
Returns the value of thelightingrecord component.- Returns:
- the value of the
lightingrecord component
-