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>
  • Field Details

  • 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()