Record Class GLType.Pointer
java.lang.Object
java.lang.Record
dev.pfaff.glass.opengl.GLType.Pointer
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.pfaff.glass.opengl.GLType
GLType.Enum<T extends GLEnum>, GLType.Pointer, GLType.PointerInt, GLType.Primitive, GLType.Void
-
Field Summary
Fields inherited from interface dev.pfaff.glass.opengl.GLType
POINTER_INT, VOID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Class
<?> layout()
@Nullable Boolean
mutable()
Returns the value of themutable
record component.Class
<?> @Nullable GLType
target()
Returns the value of thetarget
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Pointer
-
-
Method Details
-
javaClass
-
nativeClass
- Specified by:
nativeClass
in interfaceGLType
- Returns:
- the class used in the native OpenGL API.
-
layout
-
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)
. -
target
Returns the value of thetarget
record component.- Returns:
- the value of the
target
record component
-
mutable
Returns the value of themutable
record component.- Returns:
- the value of the
mutable
record component
-