Record Class BedrockIrisEmission.Key
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.render.compat.iris.BedrockIrisEmission.Key
- Enclosing interface:
BedrockIrisEmission
public static record BedrockIrisEmission.Key(net.irisshaders.iris.pipeline.programs.ShaderKey body, net.irisshaders.iris.pipeline.programs.ShaderKey emission)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKey(net.irisshaders.iris.pipeline.programs.ShaderKey body, net.irisshaders.iris.pipeline.programs.ShaderKey emission) Creates an instance of aKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionnet.irisshaders.iris.pipeline.programs.ShaderKeybody()Returns the value of thebodyrecord component.net.irisshaders.iris.pipeline.programs.ShaderKeyemission()Returns the value of theemissionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Key
public Key(net.irisshaders.iris.pipeline.programs.ShaderKey body, net.irisshaders.iris.pipeline.programs.ShaderKey emission) Creates an instance of aKeyrecord class.- Parameters:
body- the value for thebodyrecord componentemission- the value for theemissionrecord 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
-
emission
public net.irisshaders.iris.pipeline.programs.ShaderKey emission()Returns the value of theemissionrecord component.- Returns:
- the value of the
emissionrecord component
-