Record Class GlslStmt.Raw
java.lang.Object
java.lang.Record
dev.engine_room.flywheel.backend.glsl.generate.GlslStmt.Raw
- All Implemented Interfaces:
GlslStmt
- Enclosing interface:
GlslStmt
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.engine_room.flywheel.backend.glsl.generate.GlslStmt
GlslStmt.Eval, GlslStmt.Raw, GlslStmt.Return -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.glsl()Returns the value of theglslrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Raw
Creates an instance of aRawrecord class.- Parameters:
glsl- the value for theglslrecord component
-
-
Method Details
-
prettyPrint
- Specified by:
prettyPrintin interfaceGlslStmt
-
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 withObjects::equals(Object,Object). -
glsl
Returns the value of theglslrecord component.- Returns:
- the value of the
glslrecord component
-