Interface GLType
- All Known Subinterfaces:
GLType.Primitive
- All Known Implementing Classes:
GLType.Enum,GLType.Pointer,GLType.PointerInt,GLType.Primitive.Boolean,GLType.Primitive.Byte,GLType.Primitive.Char,GLType.Primitive.Double,GLType.Primitive.Float,GLType.Primitive.Int,GLType.Primitive.Long,GLType.Primitive.Short,GLType.Void
public sealed interface GLType
permits GLType.Pointer, GLType.PointerInt, GLType.Void, GLType.Primitive, GLType.Enum<T>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordGLType.Enum<T extends GLEnum>static final recordstatic final classstatic interfacestatic final class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NonNull Class<?> @Nullable MemoryLayoutlayout()@NonNull Class<?>
-
Field Details
-
POINTER_INT
-
VOID
-
-
Method Details
-
javaClass
@NonNull Class<?> javaClass()- Returns:
- the class used in the public-facing Java API.
-
nativeClass
@NonNull Class<?> nativeClass()- Returns:
- the class used in the native OpenGL API.
-
layout
@Nullable MemoryLayout layout()
-