Record Class RawGLEnum
java.lang.Object
java.lang.Record
dev.pfaff.glass.opengl.enums.RawGLEnum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static RawGLEnumfromGLEnum(int glEnum) intglEnum()Returns the value of theglEnumrecord component.final inthashCode()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 aRawGLEnumrecord class.- Parameters:
glEnum- the value for theglEnumrecord 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
-