Package com.hbm_m.client.render.shader
Record Class IrisDerivedMatrixUniforms.Locations
java.lang.Object
java.lang.Record
com.hbm_m.client.render.shader.IrisDerivedMatrixUniforms.Locations
- Enclosing class:
- IrisDerivedMatrixUniforms
public static record IrisDerivedMatrixUniforms.Locations(int modelView, int modelViewInverse, int normalMat)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocations(int modelView, int modelViewInverse, int normalMat) Creates an instance of aLocationsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themodelViewrecord component.intReturns the value of themodelViewInverserecord component.intReturns the value of thenormalMatrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NONE
-
-
Constructor Details
-
Locations
public Locations(int modelView, int modelViewInverse, int normalMat) Creates an instance of aLocationsrecord class.- Parameters:
modelView- the value for themodelViewrecord componentmodelViewInverse- the value for themodelViewInverserecord componentnormalMat- the value for thenormalMatrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 with '=='. -
modelView
public int modelView()Returns the value of themodelViewrecord component.- Returns:
- the value of the
modelViewrecord component
-
modelViewInverse
public int modelViewInverse()Returns the value of themodelViewInverserecord component.- Returns:
- the value of the
modelViewInverserecord component
-
normalMat
public int normalMat()Returns the value of thenormalMatrecord component.- Returns:
- the value of the
normalMatrecord component
-