Record Class BaseIntShader.Uniform
java.lang.Object
java.lang.Record
gaiasky.render.gdx.shader.BaseIntShader.Uniform
- All Implemented Interfaces:
BaseIntShader.Validator
- Enclosing class:
BaseIntShader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.Returns the value of theenvironmentMaskrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thematerialMaskrecord component.Returns the value of theoverallMaskrecord component.final StringtoString()Returns a string representation of this record class.booleanvalidate(BaseIntShader shader, int inputID, IntRenderable renderable)
-
Constructor Details
-
Uniform
-
Uniform
-
Uniform
-
Uniform
Creates an instance of aUniformrecord class.- Parameters:
alias- the value for thealiasrecord componentmaterialMask- the value for thematerialMaskrecord componentenvironmentMask- the value for theenvironmentMaskrecord componentoverallMask- the value for theoverallMaskrecord component
-
-
Method Details
-
validate
- Specified by:
validatein interfaceBaseIntShader.Validator- Returns:
- True if the input is valid for the renderable, false otherwise.
-
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). -
alias
Returns the value of thealiasrecord component.- Returns:
- the value of the
aliasrecord component
-
materialMask
Returns the value of thematerialMaskrecord component.- Returns:
- the value of the
materialMaskrecord component
-
environmentMask
Returns the value of theenvironmentMaskrecord component.- Returns:
- the value of the
environmentMaskrecord component
-
overallMask
Returns the value of theoverallMaskrecord component.- Returns:
- the value of the
overallMaskrecord component
-