Record Class RawGLEnum
java.lang.Object
java.lang.Record
dev.pfaff.glass.opengl.enums.RawGLEnum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.static RawGLEnum
fromGLEnum
(int glEnum) int
glEnum()
Returns the value of theglEnum
record component.final int
hashCode()
Returns a hash code value for this object.toString()
Returns a string representation of this record class.
-
Constructor Details
-
RawGLEnum
public RawGLEnum(int glEnum) Creates an instance of aRawGLEnum
record class.- Parameters:
glEnum
- the value for theglEnum
record component
-
-
Method Details
-
fromGLEnum
-
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 with '=='. -
glEnum
-