Class GLES32


public class GLES32 extends GLES31
The core OpenGL ES 3.2 functionality.
  • Field Details

    • GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB

      public static final int GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB

      public static final int GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MULTIPLY

      public static final int GL_MULTIPLY
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_SCREEN

      public static final int GL_SCREEN
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_OVERLAY

      public static final int GL_OVERLAY
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_DARKEN

      public static final int GL_DARKEN
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_LIGHTEN

      public static final int GL_LIGHTEN
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_COLORDODGE

      public static final int GL_COLORDODGE
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_COLORBURN

      public static final int GL_COLORBURN
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_HARDLIGHT

      public static final int GL_HARDLIGHT
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_SOFTLIGHT

      public static final int GL_SOFTLIGHT
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_DIFFERENCE

      public static final int GL_DIFFERENCE
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_EXCLUSION

      public static final int GL_EXCLUSION
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_HSL_HUE

      public static final int GL_HSL_HUE
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_HSL_SATURATION

      public static final int GL_HSL_SATURATION
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_HSL_COLOR

      public static final int GL_HSL_COLOR
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_HSL_LUMINOSITY

      public static final int GL_HSL_LUMINOSITY
      Accepted by the mode parameter of BlendEquation and BlendEquationi.
      See Also:
    • GL_DEBUG_OUTPUT

      public static final int GL_DEBUG_OUTPUT
      Tokens accepted by the target parameters of Enable, Disable, and IsEnabled.
      See Also:
    • GL_DEBUG_OUTPUT_SYNCHRONOUS

      public static final int GL_DEBUG_OUTPUT_SYNCHRONOUS
      Tokens accepted by the target parameters of Enable, Disable, and IsEnabled.
      See Also:
    • GL_CONTEXT_FLAG_DEBUG_BIT

      public static final int GL_CONTEXT_FLAG_DEBUG_BIT
      Returned by GetIntegerv when pname is CONTEXT_FLAGS.
      See Also:
    • GL_MAX_DEBUG_MESSAGE_LENGTH

      public static final int GL_MAX_DEBUG_MESSAGE_LENGTH
      Tokens accepted by the value parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.
      See Also:
    • GL_MAX_DEBUG_LOGGED_MESSAGES

      public static final int GL_MAX_DEBUG_LOGGED_MESSAGES
      Tokens accepted by the value parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.
      See Also:
    • GL_DEBUG_LOGGED_MESSAGES

      public static final int GL_DEBUG_LOGGED_MESSAGES
      Tokens accepted by the value parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.
      See Also:
    • GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH

      public static final int GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH
      Tokens accepted by the value parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.
      See Also:
    • GL_MAX_DEBUG_GROUP_STACK_DEPTH

      public static final int GL_MAX_DEBUG_GROUP_STACK_DEPTH
      Tokens accepted by the value parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.
      See Also:
    • GL_DEBUG_GROUP_STACK_DEPTH

      public static final int GL_DEBUG_GROUP_STACK_DEPTH
      Tokens accepted by the value parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.
      See Also:
    • GL_MAX_LABEL_LENGTH

      public static final int GL_MAX_LABEL_LENGTH
      Tokens accepted by the value parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.
      See Also:
    • GL_DEBUG_CALLBACK_FUNCTION

      public static final int GL_DEBUG_CALLBACK_FUNCTION
      Tokens accepted by the pname parameter of GetPointerv.
      See Also:
    • GL_DEBUG_CALLBACK_USER_PARAM

      public static final int GL_DEBUG_CALLBACK_USER_PARAM
      Tokens accepted by the pname parameter of GetPointerv.
      See Also:
    • GL_DEBUG_SOURCE_API

      public static final int GL_DEBUG_SOURCE_API
      Tokens accepted or provided by the source parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the sources parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_SOURCE_WINDOW_SYSTEM

      public static final int GL_DEBUG_SOURCE_WINDOW_SYSTEM
      Tokens accepted or provided by the source parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the sources parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_SOURCE_SHADER_COMPILER

      public static final int GL_DEBUG_SOURCE_SHADER_COMPILER
      Tokens accepted or provided by the source parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the sources parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_SOURCE_THIRD_PARTY

      public static final int GL_DEBUG_SOURCE_THIRD_PARTY
      Tokens accepted or provided by the source parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the sources parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_SOURCE_APPLICATION

      public static final int GL_DEBUG_SOURCE_APPLICATION
      Tokens accepted or provided by the source parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the sources parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_SOURCE_OTHER

      public static final int GL_DEBUG_SOURCE_OTHER
      Tokens accepted or provided by the source parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the sources parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_TYPE_ERROR

      public static final int GL_DEBUG_TYPE_ERROR
      Tokens accepted or provided by the type parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the types parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR

      public static final int GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR
      Tokens accepted or provided by the type parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the types parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR

      public static final int GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR
      Tokens accepted or provided by the type parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the types parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_TYPE_PORTABILITY

      public static final int GL_DEBUG_TYPE_PORTABILITY
      Tokens accepted or provided by the type parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the types parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_TYPE_PERFORMANCE

      public static final int GL_DEBUG_TYPE_PERFORMANCE
      Tokens accepted or provided by the type parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the types parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_TYPE_OTHER

      public static final int GL_DEBUG_TYPE_OTHER
      Tokens accepted or provided by the type parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the types parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_TYPE_MARKER

      public static final int GL_DEBUG_TYPE_MARKER
      Tokens accepted or provided by the type parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and the types parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_TYPE_PUSH_GROUP

      public static final int GL_DEBUG_TYPE_PUSH_GROUP
      Tokens accepted or provided by the type parameters of DebugMessageControl and DEBUGPROC, and the types parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_TYPE_POP_GROUP

      public static final int GL_DEBUG_TYPE_POP_GROUP
      Tokens accepted or provided by the type parameters of DebugMessageControl and DEBUGPROC, and the types parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_SEVERITY_HIGH

      public static final int GL_DEBUG_SEVERITY_HIGH
      Tokens accepted or provided by the severity parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the severities parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_SEVERITY_MEDIUM

      public static final int GL_DEBUG_SEVERITY_MEDIUM
      Tokens accepted or provided by the severity parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the severities parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_SEVERITY_LOW

      public static final int GL_DEBUG_SEVERITY_LOW
      Tokens accepted or provided by the severity parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the severities parameter of GetDebugMessageLog.
      See Also:
    • GL_DEBUG_SEVERITY_NOTIFICATION

      public static final int GL_DEBUG_SEVERITY_NOTIFICATION
      Tokens accepted or provided by the severity parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and the severities parameter of GetDebugMessageLog.
      See Also:
    • GL_STACK_UNDERFLOW

      public static final int GL_STACK_UNDERFLOW
      Returned by GetError.
      See Also:
    • GL_STACK_OVERFLOW

      public static final int GL_STACK_OVERFLOW
      Returned by GetError.
      See Also:
    • GL_BUFFER

      public static final int GL_BUFFER
      Tokens accepted or provided by the identifier parameters of ObjectLabel and GetObjectLabel.
      See Also:
    • GL_SHADER

      public static final int GL_SHADER
      Tokens accepted or provided by the identifier parameters of ObjectLabel and GetObjectLabel.
      See Also:
    • GL_PROGRAM

      public static final int GL_PROGRAM
      Tokens accepted or provided by the identifier parameters of ObjectLabel and GetObjectLabel.
      See Also:
    • GL_QUERY

      public static final int GL_QUERY
      Tokens accepted or provided by the identifier parameters of ObjectLabel and GetObjectLabel.
      See Also:
    • GL_PROGRAM_PIPELINE

      public static final int GL_PROGRAM_PIPELINE
      Tokens accepted or provided by the identifier parameters of ObjectLabel and GetObjectLabel.
      See Also:
    • GL_SAMPLER

      public static final int GL_SAMPLER
      Tokens accepted or provided by the identifier parameters of ObjectLabel and GetObjectLabel.
      See Also:
    • GL_GEOMETRY_SHADER

      public static final int GL_GEOMETRY_SHADER
      Accepted by the type parameter of CreateShader and CreateShaderProgramv, by the pname parameter of GetProgramPipelineiv and returned in the params parameter of GetShaderiv when pname is SHADER_TYPE.
      See Also:
    • GL_GEOMETRY_SHADER_BIT

      public static final int GL_GEOMETRY_SHADER_BIT
      Accepted by the stages parameter of UseProgramStages.
      See Also:
    • GL_GEOMETRY_LINKED_VERTICES_OUT

      public static final int GL_GEOMETRY_LINKED_VERTICES_OUT
      Accepted by the pname parameter of GetProgramiv.
      See Also:
    • GL_GEOMETRY_LINKED_INPUT_TYPE

      public static final int GL_GEOMETRY_LINKED_INPUT_TYPE
      Accepted by the pname parameter of GetProgramiv.
      See Also:
    • GL_GEOMETRY_LINKED_OUTPUT_TYPE

      public static final int GL_GEOMETRY_LINKED_OUTPUT_TYPE
      Accepted by the pname parameter of GetProgramiv.
      See Also:
    • GL_GEOMETRY_SHADER_INVOCATIONS

      public static final int GL_GEOMETRY_SHADER_INVOCATIONS
      Accepted by the pname parameter of GetProgramiv.
      See Also:
    • GL_LAYER_PROVOKING_VERTEX

      public static final int GL_LAYER_PROVOKING_VERTEX
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_UNIFORM_COMPONENTS

      public static final int GL_MAX_GEOMETRY_UNIFORM_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_UNIFORM_BLOCKS

      public static final int GL_MAX_GEOMETRY_UNIFORM_BLOCKS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS

      public static final int GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_INPUT_COMPONENTS

      public static final int GL_MAX_GEOMETRY_INPUT_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_OUTPUT_COMPONENTS

      public static final int GL_MAX_GEOMETRY_OUTPUT_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_OUTPUT_VERTICES

      public static final int GL_MAX_GEOMETRY_OUTPUT_VERTICES
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS

      public static final int GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_SHADER_INVOCATIONS

      public static final int GL_MAX_GEOMETRY_SHADER_INVOCATIONS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS

      public static final int GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS

      public static final int GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_ATOMIC_COUNTERS

      public static final int GL_MAX_GEOMETRY_ATOMIC_COUNTERS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_IMAGE_UNIFORMS

      public static final int GL_MAX_GEOMETRY_IMAGE_UNIFORMS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS

      public static final int GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_FIRST_VERTEX_CONVENTION

      public static final int GL_FIRST_VERTEX_CONVENTION
      Returned in the data parameter from a Get query with a pname of LAYER_PROVOKING_VERTEX.
      See Also:
    • GL_LAST_VERTEX_CONVENTION

      public static final int GL_LAST_VERTEX_CONVENTION
      Returned in the data parameter from a Get query with a pname of LAYER_PROVOKING_VERTEX.
      See Also:
    • GL_UNDEFINED_VERTEX

      public static final int GL_UNDEFINED_VERTEX
      Returned in the data parameter from a Get query with a pname of LAYER_PROVOKING_VERTEX.
      See Also:
    • GL_PRIMITIVES_GENERATED

      public static final int GL_PRIMITIVES_GENERATED
      Accepted by the target parameter of BeginQuery, EndQuery, GetQueryiv, and GetQueryObjectuiv.
      See Also:
    • GL_LINES_ADJACENCY

      public static final int GL_LINES_ADJACENCY
      Accepted by the mode parameter of DrawArrays, DrawElements, and other commands which draw primitives.
      See Also:
    • GL_LINE_STRIP_ADJACENCY

      public static final int GL_LINE_STRIP_ADJACENCY
      Accepted by the mode parameter of DrawArrays, DrawElements, and other commands which draw primitives.
      See Also:
    • GL_TRIANGLES_ADJACENCY

      public static final int GL_TRIANGLES_ADJACENCY
      Accepted by the mode parameter of DrawArrays, DrawElements, and other commands which draw primitives.
      See Also:
    • GL_TRIANGLE_STRIP_ADJACENCY

      public static final int GL_TRIANGLE_STRIP_ADJACENCY
      Accepted by the mode parameter of DrawArrays, DrawElements, and other commands which draw primitives.
      See Also:
    • GL_FRAMEBUFFER_DEFAULT_LAYERS

      public static final int GL_FRAMEBUFFER_DEFAULT_LAYERS
      Accepted by the pname parameter of FramebufferParameteri, and GetFramebufferParameteriv.
      See Also:
    • GL_MAX_FRAMEBUFFER_LAYERS

      public static final int GL_MAX_FRAMEBUFFER_LAYERS
      Accepted by the pname parameter of GetIntegerv, GetBooleanv, GetInteger64v, and GetFloatv.
      See Also:
    • GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS

      public static final int GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS
      Returned by CheckFramebufferStatus.
      See Also:
    • GL_FRAMEBUFFER_ATTACHMENT_LAYERED

      public static final int GL_FRAMEBUFFER_ATTACHMENT_LAYERED
      Accepted by the pname parameter of GetFramebufferAttachmentParameteriv.
      See Also:
    • GL_REFERENCED_BY_GEOMETRY_SHADER

      public static final int GL_REFERENCED_BY_GEOMETRY_SHADER
      Accepted by the props parameter of GetProgramResourceiv.
      See Also:
    • GL_PRIMITIVE_BOUNDING_BOX_ARB

      public static final int GL_PRIMITIVE_BOUNDING_BOX_ARB
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_GUILTY_CONTEXT_RESET

      public static final int GL_GUILTY_CONTEXT_RESET
      See Also:
    • GL_INNOCENT_CONTEXT_RESET

      public static final int GL_INNOCENT_CONTEXT_RESET
      See Also:
    • GL_UNKNOWN_CONTEXT_RESET

      public static final int GL_UNKNOWN_CONTEXT_RESET
      See Also:
    • GL_CONTEXT_ROBUST_ACCESS

      public static final int GL_CONTEXT_ROBUST_ACCESS
      Accepted by the value parameter of GetBooleanv, GetIntegerv, and GetFloatv.
      See Also:
    • GL_RESET_NOTIFICATION_STRATEGY

      public static final int GL_RESET_NOTIFICATION_STRATEGY
      Accepted by the value parameter of GetBooleanv, GetIntegerv, and GetFloatv.
      See Also:
    • GL_LOSE_CONTEXT_ON_RESET

      public static final int GL_LOSE_CONTEXT_ON_RESET
      Returned by GetIntegerv and related simple queries when value is RESET_NOTIFICATION_STRATEGY.
      See Also:
    • GL_NO_RESET_NOTIFICATION

      public static final int GL_NO_RESET_NOTIFICATION
      Returned by GetIntegerv and related simple queries when value is RESET_NOTIFICATION_STRATEGY.
      See Also:
    • GL_CONTEXT_LOST

      public static final int GL_CONTEXT_LOST
      Returned by GetError.
      See Also:
    • GL_SAMPLE_SHADING

      public static final int GL_SAMPLE_SHADING
      Accepted by the cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MIN_SAMPLE_SHADING_VALUE

      public static final int GL_MIN_SAMPLE_SHADING_VALUE
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, and GetFloatv.
      See Also:
    • GL_MIN_FRAGMENT_INTERPOLATION_OFFSET

      public static final int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_MAX_FRAGMENT_INTERPOLATION_OFFSET

      public static final int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_FRAGMENT_INTERPOLATION_OFFSET_BITS

      public static final int GL_FRAGMENT_INTERPOLATION_OFFSET_BITS
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v.
      See Also:
    • GL_PATCHES

      public static final int GL_PATCHES
      Accepted by the mode parameter of DrawArrays, DrawElements, and other commands which draw primitives.
      See Also:
    • GL_PATCH_VERTICES

      public static final int GL_PATCH_VERTICES
      Accepted by the pname parameter of PatchParameteri, GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_TESS_CONTROL_OUTPUT_VERTICES

      public static final int GL_TESS_CONTROL_OUTPUT_VERTICES
      Accepted by the pname parameter of GetProgramiv.
      See Also:
    • GL_TESS_GEN_MODE

      public static final int GL_TESS_GEN_MODE
      Accepted by the pname parameter of GetProgramiv.
      See Also:
    • GL_TESS_GEN_SPACING

      public static final int GL_TESS_GEN_SPACING
      Accepted by the pname parameter of GetProgramiv.
      See Also:
    • GL_TESS_GEN_VERTEX_ORDER

      public static final int GL_TESS_GEN_VERTEX_ORDER
      Accepted by the pname parameter of GetProgramiv.
      See Also:
    • GL_TESS_GEN_POINT_MODE

      public static final int GL_TESS_GEN_POINT_MODE
      Accepted by the pname parameter of GetProgramiv.
      See Also:
    • GL_ISOLINES

      public static final int GL_ISOLINES
      Returned by GetProgramiv when pname is TESS_GEN_MODE.
      See Also:
    • GL_QUADS

      public static final int GL_QUADS
      Returned by GetProgramiv when pname is TESS_GEN_MODE.
      See Also:
    • GL_FRACTIONAL_ODD

      public static final int GL_FRACTIONAL_ODD
      Returned by GetProgramiv when pname is TESS_GEN_SPACING.
      See Also:
    • GL_FRACTIONAL_EVEN

      public static final int GL_FRACTIONAL_EVEN
      Returned by GetProgramiv when pname is TESS_GEN_SPACING.
      See Also:
    • GL_MAX_PATCH_VERTICES

      public static final int GL_MAX_PATCH_VERTICES
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_GEN_LEVEL

      public static final int GL_MAX_TESS_GEN_LEVEL
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS

      public static final int GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS

      public static final int GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS

      public static final int GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS

      public static final int GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS

      public static final int GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_PATCH_COMPONENTS

      public static final int GL_MAX_TESS_PATCH_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS

      public static final int GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS

      public static final int GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS

      public static final int GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS

      public static final int GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_CONTROL_INPUT_COMPONENTS

      public static final int GL_MAX_TESS_CONTROL_INPUT_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS

      public static final int GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS

      public static final int GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS

      public static final int GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS

      public static final int GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS

      public static final int GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS

      public static final int GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS

      public static final int GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS

      public static final int GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS

      public static final int GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS

      public static final int GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS

      public static final int GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED

      public static final int GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED
      Accepted by the pname parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.
      See Also:
    • GL_IS_PER_PATCH

      public static final int GL_IS_PER_PATCH
      Accepted by the props parameter of GetProgramResourceiv.
      See Also:
    • GL_REFERENCED_BY_TESS_CONTROL_SHADER

      public static final int GL_REFERENCED_BY_TESS_CONTROL_SHADER
      Accepted by the props parameter of GetProgramResourceiv.
      See Also:
    • GL_REFERENCED_BY_TESS_EVALUATION_SHADER

      public static final int GL_REFERENCED_BY_TESS_EVALUATION_SHADER
      Accepted by the props parameter of GetProgramResourceiv.
      See Also:
    • GL_TESS_EVALUATION_SHADER

      public static final int GL_TESS_EVALUATION_SHADER
      Accepted by the type parameter of CreateShader, by the pname parameter of GetProgramPipelineiv, and returned by the params parameter of GetShaderiv.
      See Also:
    • GL_TESS_CONTROL_SHADER

      public static final int GL_TESS_CONTROL_SHADER
      Accepted by the type parameter of CreateShader, by the pname parameter of GetProgramPipelineiv, and returned by the params parameter of GetShaderiv.
      See Also:
    • GL_TESS_CONTROL_SHADER_BIT

      public static final int GL_TESS_CONTROL_SHADER_BIT
      Accepted by the stages parameter of UseProgramStages.
      See Also:
    • GL_TESS_EVALUATION_SHADER_BIT

      public static final int GL_TESS_EVALUATION_SHADER_BIT
      Accepted by the stages parameter of UseProgramStages.
      See Also:
    • GL_TEXTURE_BORDER_COLOR

      public static final int GL_TEXTURE_BORDER_COLOR
      Accepted by the pname parameter of TexParameteriv, TexParameterfv, SamplerParameteriv, SamplerParameterfv, TexParameterIiv, TexParameterIuiv, SamplerParameterIiv, SamplerParameterIuiv, GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, GetTexParameterIuiv, GetSamplerParameteriv, GetSamplerParameterfv, GetSamplerParameterIiv, and GetSamplerParameterIuiv.
      See Also:
    • GL_CLAMP_TO_BORDER

      public static final int GL_CLAMP_TO_BORDER
      Accepted by the param parameter of TexParameteri, TexParameterf, SamplerParameteri and SamplerParameterf, and by the params parameter of TexParameteriv, TexParameterfv, TexParameterIiv, TexParameterIuiv, SamplerParameterIiv, SamplerParameterIuiv and returned by the params parameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, GetTexParameterIuiv, GetSamplerParameteriv, GetSamplerParameterfv, GetSamplerParameterIiv, and GetSamplerParameterIuiv when their pname parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R.
      See Also:
    • GL_TEXTURE_BUFFER

      public static final int GL_TEXTURE_BUFFER
      Accepted by the target parameter of BindBuffer, BufferData, BufferSubData, MapBufferRange, BindTexture, UnmapBuffer, GetBufferParameteriv, GetBufferPointerv, TexBuffer, and TexBufferRange.
      See Also:
    • GL_TEXTURE_BUFFER_BINDING

      public static final int GL_TEXTURE_BUFFER_BINDING
      Accepted by the pname parameters of GetBooleanv, GetFloatv, and GetIntegerv.
      See Also:
    • GL_SAMPLER_BUFFER

      public static final int GL_SAMPLER_BUFFER
      (note that this token name is an alias for TEXTURE_BUFFER, and is used for naming consistency with queries for the buffers bound to other buffer binding points). MAX_TEXTURE_BUFFER_SIZE 0x8C2B TEXTURE_BINDING_BUFFER 0x8C2C TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F Returned in the type parameter of GetActiveUniform, the params parameter of GetActiveUniformsiv, and the params parameter of GetProgramResourceiv when the TYPE property is queried on the UNIFORM interface.
      See Also:
    • GL_INT_SAMPLER_BUFFER

      public static final int GL_INT_SAMPLER_BUFFER
      (note that this token name is an alias for TEXTURE_BUFFER, and is used for naming consistency with queries for the buffers bound to other buffer binding points). MAX_TEXTURE_BUFFER_SIZE 0x8C2B TEXTURE_BINDING_BUFFER 0x8C2C TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F Returned in the type parameter of GetActiveUniform, the params parameter of GetActiveUniformsiv, and the params parameter of GetProgramResourceiv when the TYPE property is queried on the UNIFORM interface.
      See Also:
    • GL_UNSIGNED_INT_SAMPLER_BUFFER

      public static final int GL_UNSIGNED_INT_SAMPLER_BUFFER
      (note that this token name is an alias for TEXTURE_BUFFER, and is used for naming consistency with queries for the buffers bound to other buffer binding points). MAX_TEXTURE_BUFFER_SIZE 0x8C2B TEXTURE_BINDING_BUFFER 0x8C2C TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F Returned in the type parameter of GetActiveUniform, the params parameter of GetActiveUniformsiv, and the params parameter of GetProgramResourceiv when the TYPE property is queried on the UNIFORM interface.
      See Also:
    • GL_IMAGE_BUFFER

      public static final int GL_IMAGE_BUFFER
      (note that this token name is an alias for TEXTURE_BUFFER, and is used for naming consistency with queries for the buffers bound to other buffer binding points). MAX_TEXTURE_BUFFER_SIZE 0x8C2B TEXTURE_BINDING_BUFFER 0x8C2C TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F Returned in the type parameter of GetActiveUniform, the params parameter of GetActiveUniformsiv, and the params parameter of GetProgramResourceiv when the TYPE property is queried on the UNIFORM interface.
      See Also:
    • GL_INT_IMAGE_BUFFER

      public static final int GL_INT_IMAGE_BUFFER
      (note that this token name is an alias for TEXTURE_BUFFER, and is used for naming consistency with queries for the buffers bound to other buffer binding points). MAX_TEXTURE_BUFFER_SIZE 0x8C2B TEXTURE_BINDING_BUFFER 0x8C2C TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F Returned in the type parameter of GetActiveUniform, the params parameter of GetActiveUniformsiv, and the params parameter of GetProgramResourceiv when the TYPE property is queried on the UNIFORM interface.
      See Also:
    • GL_UNSIGNED_INT_IMAGE_BUFFER

      public static final int GL_UNSIGNED_INT_IMAGE_BUFFER
      (note that this token name is an alias for TEXTURE_BUFFER, and is used for naming consistency with queries for the buffers bound to other buffer binding points). MAX_TEXTURE_BUFFER_SIZE 0x8C2B TEXTURE_BINDING_BUFFER 0x8C2C TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F Returned in the type parameter of GetActiveUniform, the params parameter of GetActiveUniformsiv, and the params parameter of GetProgramResourceiv when the TYPE property is queried on the UNIFORM interface.
      See Also:
    • GL_TEXTURE_BUFFER_DATA_STORE_BINDING

      public static final int GL_TEXTURE_BUFFER_DATA_STORE_BINDING
      Accepted by the pname parameter of GetTexLevelParameter.
      See Also:
    • GL_TEXTURE_BUFFER_OFFSET

      public static final int GL_TEXTURE_BUFFER_OFFSET
      Accepted by the pname parameter of GetTexLevelParameter.
      See Also:
    • GL_TEXTURE_BUFFER_SIZE

      public static final int GL_TEXTURE_BUFFER_SIZE
      Accepted by the pname parameter of GetTexLevelParameter.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_4x4

      public static final int GL_COMPRESSED_RGBA_ASTC_4x4
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_5x4

      public static final int GL_COMPRESSED_RGBA_ASTC_5x4
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_5x5

      public static final int GL_COMPRESSED_RGBA_ASTC_5x5
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_6x5

      public static final int GL_COMPRESSED_RGBA_ASTC_6x5
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_6x6

      public static final int GL_COMPRESSED_RGBA_ASTC_6x6
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_8x5

      public static final int GL_COMPRESSED_RGBA_ASTC_8x5
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_8x6

      public static final int GL_COMPRESSED_RGBA_ASTC_8x6
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_8x8

      public static final int GL_COMPRESSED_RGBA_ASTC_8x8
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_10x5

      public static final int GL_COMPRESSED_RGBA_ASTC_10x5
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_10x6

      public static final int GL_COMPRESSED_RGBA_ASTC_10x6
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_10x8

      public static final int GL_COMPRESSED_RGBA_ASTC_10x8
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_10x10

      public static final int GL_COMPRESSED_RGBA_ASTC_10x10
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_12x10

      public static final int GL_COMPRESSED_RGBA_ASTC_12x10
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_RGBA_ASTC_12x12

      public static final int GL_COMPRESSED_RGBA_ASTC_12x12
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12

      public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12
      Accepted by the internalformat parameter of CompressedTexImage2D, CompressedTexSubImage2D, TexStorage2D, TextureStorage2D, TexStorage3D, and TextureStorage3D.
      See Also:
    • GL_TEXTURE_CUBE_MAP_ARRAY

      public static final int GL_TEXTURE_CUBE_MAP_ARRAY
      Accepted by the target parameter of TexParameter{if}, TexParameter{if}v, TexParameterI{i ui}v, BindTexture, GenerateMipmap, TexImage3D, TexSubImage3D, TexStorage3D, GetTexParameter{if}v, GetTexParameter{i ui}v, GetTexLevelParameter{if}v, CompressedTexImage3D, CompressedTexSubImage3D and CopyTexSubImage3D.
      See Also:
    • GL_TEXTURE_BINDING_CUBE_MAP_ARRAY

      public static final int GL_TEXTURE_BINDING_CUBE_MAP_ARRAY
      Accepted by the pname parameter of GetBooleanv, GetIntegerv and GetFloatv.
      See Also:
    • GL_SAMPLER_CUBE_MAP_ARRAY

      public static final int GL_SAMPLER_CUBE_MAP_ARRAY
      Returned by the type parameter of GetActiveUniform, and by the params parameter of GetProgramResourceiv when props is TYPE.
      See Also:
    • GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW

      public static final int GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW
      Returned by the type parameter of GetActiveUniform, and by the params parameter of GetProgramResourceiv when props is TYPE.
      See Also:
    • GL_INT_SAMPLER_CUBE_MAP_ARRAY

      public static final int GL_INT_SAMPLER_CUBE_MAP_ARRAY
      Returned by the type parameter of GetActiveUniform, and by the params parameter of GetProgramResourceiv when props is TYPE.
      See Also:
    • GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY

      public static final int GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY
      Returned by the type parameter of GetActiveUniform, and by the params parameter of GetProgramResourceiv when props is TYPE.
      See Also:
    • GL_IMAGE_CUBE_MAP_ARRAY

      public static final int GL_IMAGE_CUBE_MAP_ARRAY
      Returned by the type parameter of GetActiveUniform, and by the params parameter of GetProgramResourceiv when props is TYPE.
      See Also:
    • GL_INT_IMAGE_CUBE_MAP_ARRAY

      public static final int GL_INT_IMAGE_CUBE_MAP_ARRAY
      Returned by the type parameter of GetActiveUniform, and by the params parameter of GetProgramResourceiv when props is TYPE.
      See Also:
    • GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY

      public static final int GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY
      Returned by the type parameter of GetActiveUniform, and by the params parameter of GetProgramResourceiv when props is TYPE.
      See Also:
    • GL_TEXTURE_2D_MULTISAMPLE_ARRAY

      public static final int GL_TEXTURE_2D_MULTISAMPLE_ARRAY
      Accepted by the target parameter of BindTexture, TexStorage3DMultisample, GetInternalformativ, TexParameter{if}*, GetTexParameter{if}v and GetTexLevelParameter{if}v. Also, the texture object indicated by the texture argument to FramebufferTextureLayer can be TEXTURE_2D_MULTISAMPLE_ARRAY.
      See Also:
    • GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY

      public static final int GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.
      See Also:
    • GL_SAMPLER_2D_MULTISAMPLE_ARRAY

      public static final int GL_SAMPLER_2D_MULTISAMPLE_ARRAY
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY

      public static final int GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY
      Returned by the type parameter of GetActiveUniform.
      See Also:
    • GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY

      public static final int GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY
      Returned by the type parameter of GetActiveUniform.
      See Also:
  • Method Details

    • glBlendBarrier

      public static void glBlendBarrier()
      Specifies a boundary between passes when using advanced blend equations.

      When using advanced blending equations, applications should split their rendering into a collection of blending passes, none of which touch an individual sample in the framebuffer more than once. The results of blending are undefined if the sample being blended has been touched previously in the same pass. Any command that causes the value of a sample to be modified using the framebuffer is considered to touch the sample, including clears, blended or unblended primitives, and BlitFramebuffer copies.

      See Also:
    • glCopyImageSubData

      public static void glCopyImageSubData(int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int srcWidth, int srcHeight, int srcDepth)
    • nglDebugMessageControl

      public static void nglDebugMessageControl(int source, int type, int severity, int count, long ids, boolean enabled)
      Unsafe version of: DebugMessageControl
      Parameters:
      count - the length of the array ids
    • glDebugMessageControl

      public static void glDebugMessageControl(int source, int type, int severity, IntBuffer ids, boolean enabled)
      Controls the volume of debug output in the active debug group, by disabling specific or groups of messages.

      If enabled is TRUE, the referenced subset of messages will be enabled. If FALSE, then those messages will be disabled.

      This command can reference different subsets of messages by first considering the set of all messages, and filtering out messages based on the following ways:

      • If source, type, or severity is DONT_CARE, the messages from all sources, of all types, or of all severities are referenced respectively.
      • When values other than DONT_CARE are specified, all messages whose source, type, or severity match the specified source, type, or severity respectively will be referenced.
      • If count is greater than zero, then ids is an array of count message IDs for the specified combination of source and type. In this case, if source or type is DONT_CARE, or severity is not DONT_CARE, the error INVALID_OPERATION is generated.

      Unrecognized message IDs in ids are ignored. If count is zero, the value if ids is ignored.

      Although messages are grouped into an implicit hierarchy by their sources and types, there is no explicit per-source, per-type or per-severity enabled state. Instead, the enabled state is stored individually for each message. There is no difference between disabling all messages from one source in a single call, and individually disabling all messages from that source using their types and IDs.

      If the DEBUG_OUTPUT state is disabled the GL operates the same as if messages of every source, type or severity are disabled.

      Parameters:
      source - the source of debug messages to enable or disable. One of:
      DEBUG_SOURCE_APIDEBUG_SOURCE_WINDOW_SYSTEMDEBUG_SOURCE_SHADER_COMPILER
      DEBUG_SOURCE_THIRD_PARTYDEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_OTHER
      type - the type of debug messages to enable or disable. One of:
      DEBUG_TYPE_ERRORDEBUG_TYPE_DEPRECATED_BEHAVIORDEBUG_TYPE_UNDEFINED_BEHAVIOR
      DEBUG_TYPE_PORTABILITYDEBUG_TYPE_PERFORMANCEDEBUG_TYPE_OTHER
      DEBUG_TYPE_MARKER
      severity - the severity of debug messages to enable or disable. One of:
      DEBUG_SEVERITY_HIGHDEBUG_SEVERITY_MEDIUMDEBUG_SEVERITY_LOW
      DEBUG_SEVERITY_NOTIFICATION
      ids - an array of unsigned integers containing the ids of the messages to enable or disable
      enabled - whether the selected messages should be enabled or disabled
      See Also:
    • glDebugMessageControl

      public static void glDebugMessageControl(int source, int type, int severity, int id, boolean enabled)
      Controls the volume of debug output in the active debug group, by disabling specific or groups of messages.

      If enabled is TRUE, the referenced subset of messages will be enabled. If FALSE, then those messages will be disabled.

      This command can reference different subsets of messages by first considering the set of all messages, and filtering out messages based on the following ways:

      • If source, type, or severity is DONT_CARE, the messages from all sources, of all types, or of all severities are referenced respectively.
      • When values other than DONT_CARE are specified, all messages whose source, type, or severity match the specified source, type, or severity respectively will be referenced.
      • If count is greater than zero, then ids is an array of count message IDs for the specified combination of source and type. In this case, if source or type is DONT_CARE, or severity is not DONT_CARE, the error INVALID_OPERATION is generated.

      Unrecognized message IDs in ids are ignored. If count is zero, the value if ids is ignored.

      Although messages are grouped into an implicit hierarchy by their sources and types, there is no explicit per-source, per-type or per-severity enabled state. Instead, the enabled state is stored individually for each message. There is no difference between disabling all messages from one source in a single call, and individually disabling all messages from that source using their types and IDs.

      If the DEBUG_OUTPUT state is disabled the GL operates the same as if messages of every source, type or severity are disabled.

      Parameters:
      source - the source of debug messages to enable or disable. One of:
      DEBUG_SOURCE_APIDEBUG_SOURCE_WINDOW_SYSTEMDEBUG_SOURCE_SHADER_COMPILER
      DEBUG_SOURCE_THIRD_PARTYDEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_OTHER
      type - the type of debug messages to enable or disable. One of:
      DEBUG_TYPE_ERRORDEBUG_TYPE_DEPRECATED_BEHAVIORDEBUG_TYPE_UNDEFINED_BEHAVIOR
      DEBUG_TYPE_PORTABILITYDEBUG_TYPE_PERFORMANCEDEBUG_TYPE_OTHER
      DEBUG_TYPE_MARKER
      severity - the severity of debug messages to enable or disable. One of:
      DEBUG_SEVERITY_HIGHDEBUG_SEVERITY_MEDIUMDEBUG_SEVERITY_LOW
      DEBUG_SEVERITY_NOTIFICATION
      enabled - whether the selected messages should be enabled or disabled
      See Also:
    • nglDebugMessageInsert

      public static void nglDebugMessageInsert(int source, int type, int id, int severity, int length, long message)
      Unsafe version of: DebugMessageInsert
      Parameters:
      length - the length of the string contained in the character array whose address is given by message
    • glDebugMessageInsert

      public static void glDebugMessageInsert(int source, int type, int id, int severity, ByteBuffer message)
      This function can be called by applications and third-party libraries to generate their own messages, such as ones containing timestamp information or signals about specific render system events.

      The value of id specifies the ID for the message and severity indicates its severity level as defined by the caller. The string buf contains the string representation of the message. The parameter length contains the number of characters in buf. If length is negative, it is implied that buf contains a null terminated string. The error INVALID_VALUE will be generated if the number of characters in buf, excluding the null terminator when length is negative, is not less than the value of MAX_DEBUG_MESSAGE_LENGTH.

      If the DEBUG_OUTPUT state is disabled calls to DebugMessageInsert are discarded and do not generate an error.

      Parameters:
      source - the source of the debug message to insert. One of:
      DEBUG_SOURCE_APIDEBUG_SOURCE_WINDOW_SYSTEMDEBUG_SOURCE_SHADER_COMPILER
      DEBUG_SOURCE_THIRD_PARTYDEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_OTHER
      type - the type of the debug message insert. One of:
      DEBUG_TYPE_ERRORDEBUG_TYPE_DEPRECATED_BEHAVIORDEBUG_TYPE_UNDEFINED_BEHAVIOR
      DEBUG_TYPE_PORTABILITYDEBUG_TYPE_PERFORMANCEDEBUG_TYPE_OTHER
      DEBUG_TYPE_MARKER
      id - the user-supplied identifier of the message to insert. One of:
      DEBUG_SEVERITY_HIGHDEBUG_SEVERITY_MEDIUMDEBUG_SEVERITY_LOW
      DEBUG_SEVERITY_NOTIFICATION
      severity - the severity of the debug messages to insert
      message - a character array containing the message to insert
      See Also:
    • glDebugMessageInsert

      public static void glDebugMessageInsert(int source, int type, int id, int severity, CharSequence message)
      This function can be called by applications and third-party libraries to generate their own messages, such as ones containing timestamp information or signals about specific render system events.

      The value of id specifies the ID for the message and severity indicates its severity level as defined by the caller. The string buf contains the string representation of the message. The parameter length contains the number of characters in buf. If length is negative, it is implied that buf contains a null terminated string. The error INVALID_VALUE will be generated if the number of characters in buf, excluding the null terminator when length is negative, is not less than the value of MAX_DEBUG_MESSAGE_LENGTH.

      If the DEBUG_OUTPUT state is disabled calls to DebugMessageInsert are discarded and do not generate an error.

      Parameters:
      source - the source of the debug message to insert. One of:
      DEBUG_SOURCE_APIDEBUG_SOURCE_WINDOW_SYSTEMDEBUG_SOURCE_SHADER_COMPILER
      DEBUG_SOURCE_THIRD_PARTYDEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_OTHER
      type - the type of the debug message insert. One of:
      DEBUG_TYPE_ERRORDEBUG_TYPE_DEPRECATED_BEHAVIORDEBUG_TYPE_UNDEFINED_BEHAVIOR
      DEBUG_TYPE_PORTABILITYDEBUG_TYPE_PERFORMANCEDEBUG_TYPE_OTHER
      DEBUG_TYPE_MARKER
      id - the user-supplied identifier of the message to insert. One of:
      DEBUG_SEVERITY_HIGHDEBUG_SEVERITY_MEDIUMDEBUG_SEVERITY_LOW
      DEBUG_SEVERITY_NOTIFICATION
      severity - the severity of the debug messages to insert
      message - a character array containing the message to insert
      See Also:
    • nglDebugMessageCallback

      public static void nglDebugMessageCallback(long callback, long userParam)
      Unsafe version of: DebugMessageCallback
    • glDebugMessageCallback

      public static void glDebugMessageCallback(@Nullable GLDebugMessageCallbackI callback, long userParam)
      Specifies a callback to receive debugging messages from the GL.

      The function's prototype must follow the type definition of DEBUGPROC including its platform-dependent calling convention. Anything else will result in undefined behavior. Only one debug callback can be specified for the current context, and further calls overwrite the previous callback. Specifying NULL as the value of callback clears the current callback and disables message output through callbacks. Applications can provide user-specified data through the pointer userParam. The context will store this pointer and will include it as one of the parameters in each call to the callback function.

      If the application has specified a callback function for receiving debug output, the implementation will call that function whenever any enabled message is generated. The source, type, ID, and severity of the message are specified by the DEBUGPROC parameters source, type, id, and severity, respectively. The string representation of the message is stored in message and its length (excluding the null-terminator) is stored in length. The parameter userParam is the user-specified parameter that was given when calling DebugMessageCallback.

      Applications can query the current callback function and the current user-specified parameter by obtaining the values of DEBUG_CALLBACK_FUNCTION and DEBUG_CALLBACK_USER_PARAM, respectively.

      Applications that specify a callback function must be aware of certain special conditions when executing code inside a callback when it is called by the GL, regardless of the debug source.

      The memory for message is owned and managed by the GL, and should only be considered valid for the duration of the function call.

      The behavior of calling any GL or window system function from within the callback function is undefined and may lead to program termination.

      Care must also be taken in securing debug callbacks for use with asynchronous debug output by multi-threaded GL implementations.

      If the DEBUG_OUTPUT state is disabled then the GL will not call the callback function.

      Parameters:
      callback - a callback function that will be called when a debug message is generated
      userParam - a user supplied pointer that will be passed on each invocation of callback
      See Also:
    • nglGetDebugMessageLog

      public static int nglGetDebugMessageLog(int count, int bufsize, long sources, long types, long ids, long severities, long lengths, long messageLog)
      Unsafe version of: GetDebugMessageLog
      Parameters:
      bufsize - the size of the buffer whose address is given by messageLog
    • glGetDebugMessageLog

      public static int glGetDebugMessageLog(int count, @Nullable IntBuffer sources, @Nullable IntBuffer types, @Nullable IntBuffer ids, @Nullable IntBuffer severities, @Nullable IntBuffer lengths, @Nullable ByteBuffer messageLog)
      Retrieves messages from the debug message log.

      This function fetches a maximum of count messages from the message log, and will return the number of messages successfully fetched.

      Messages will be fetched from the log in order of oldest to newest. Those messages that were fetched will be removed from the log.

      The sources, types, severities, IDs, and string lengths of fetched messages will be stored in the application-provided arrays sources, types, severities, ids, and lengths, respectively. The application is responsible for allocating enough space for each array to hold up to count elements. The string representations of all fetched messages are stored in the messageLog array. If multiple messages are fetched, their strings are concatenated into the same messageLog array and will be separated by single null terminators. The last string in the array will also be null-terminated. The maximum size of messageLog, including the space used by all null terminators, is given by bufSize. If bufSize is less than zero and messageLog is not NULL, an INVALID_VALUE error will be generated. If a message's string, including its null terminator, can not fully fit within the messageLog array's remaining space, then that message and any subsequent messages will not be fetched and will remain in the log. The string lengths stored in the array lengths include the space for the null terminator of each string.

      Any or all of the arrays sources, types, ids, severities, lengths and messageLog can also be null pointers, which causes the attributes for such arrays to be discarded when messages are fetched, however those messages will still be removed from the log. Thus to simply delete up to count messages from the message log while ignoring their attributes, the application can call the function with null pointers for all attribute arrays.

      If the context was created without the CONTEXT_FLAG_DEBUG_BIT, then the GL can opt to never add messages to the message log so GetDebugMessageLog will always return zero.

      Parameters:
      count - the number of debug messages to retrieve from the log
      sources - an array of variables to receive the sources of the retrieved messages
      types - an array of variables to receive the types of the retrieved messages
      ids - an array of unsigned integers to receive the ids of the retrieved messages
      severities - an array of variables to receive the severites of the retrieved messages
      lengths - an array of variables to receive the lengths of the received messages
      messageLog - an array of characters that will receive the messages
      See Also:
    • nglGetPointerv

      public static void nglGetPointerv(int pname, long params)
    • glGetPointerv

      public static void glGetPointerv(int pname, PointerBuffer params)
    • glGetPointer

      public static long glGetPointer(int pname)
    • nglPushDebugGroup

      public static void nglPushDebugGroup(int source, int id, int length, long message)
      Unsafe version of: PushDebugGroup
      Parameters:
      length - the length of the message to be sent to the debug output stream
    • glPushDebugGroup

      public static void glPushDebugGroup(int source, int id, ByteBuffer message)
      Pushes a debug group described by the string message into the command stream. The value of id specifies the ID of messages generated. The parameter length contains the number of characters in message. If length is negative, it is implied that message contains a null terminated string. The message has the specified source and id, type DEBUG_TYPE_PUSH_GROUP, and severity DEBUG_SEVERITY_NOTIFICATION. The GL will put a new debug group on top of the debug group stack which inherits the control of the volume of debug output of the debug group previously residing on the top of the debug group stack. Because debug groups are strictly hierarchical, any additional control of the debug output volume will only apply within the active debug group and the debug groups pushed on top of the active debug group.

      An INVALID_ENUM error is generated if the value of source is neither DEBUG_SOURCE_APPLICATION nor DEBUG_SOURCE_THIRD_PARTY. An INVALID_VALUE error is generated if length is negative and the number of characters in message, excluding the null-terminator, is not less than the value of MAX_DEBUG_MESSAGE_LENGTH.

      Parameters:
      source - the source of the debug message. One of:
      DEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_THIRD_PARTY
      id - the identifier of the message
      message - a string containing the message to be sent to the debug output stream
      See Also:
    • glPushDebugGroup

      public static void glPushDebugGroup(int source, int id, CharSequence message)
      Pushes a debug group described by the string message into the command stream. The value of id specifies the ID of messages generated. The parameter length contains the number of characters in message. If length is negative, it is implied that message contains a null terminated string. The message has the specified source and id, type DEBUG_TYPE_PUSH_GROUP, and severity DEBUG_SEVERITY_NOTIFICATION. The GL will put a new debug group on top of the debug group stack which inherits the control of the volume of debug output of the debug group previously residing on the top of the debug group stack. Because debug groups are strictly hierarchical, any additional control of the debug output volume will only apply within the active debug group and the debug groups pushed on top of the active debug group.

      An INVALID_ENUM error is generated if the value of source is neither DEBUG_SOURCE_APPLICATION nor DEBUG_SOURCE_THIRD_PARTY. An INVALID_VALUE error is generated if length is negative and the number of characters in message, excluding the null-terminator, is not less than the value of MAX_DEBUG_MESSAGE_LENGTH.

      Parameters:
      source - the source of the debug message. One of:
      DEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_THIRD_PARTY
      id - the identifier of the message
      message - a string containing the message to be sent to the debug output stream
      See Also:
    • glPopDebugGroup

      public static void glPopDebugGroup()
      Pops the active debug group. When a debug group is popped, the GL will also generate a debug output message describing its cause based on the message string, the source source, and an ID id submitted to the associated PushDebugGroup command. DEBUG_TYPE_PUSH_GROUP and DEBUG_TYPE_POP_GROUP share a single namespace for message id. severity has the value DEBUG_SEVERITY_NOTIFICATION. The type has the value DEBUG_TYPE_POP_GROUP. Popping a debug group restores the debug output volume control of the parent debug group.

      Attempting to pop the default debug group off the stack generates a STACK_UNDERFLOW error; pushing a debug group onto a stack containing MAX_DEBUG_GROUP_STACK_DEPTH minus one elements will generate a STACK_OVERFLOW error.

      See Also:
    • nglObjectLabel

      public static void nglObjectLabel(int identifier, int name, int length, long label)
      Unsafe version of: ObjectLabel
      Parameters:
      length - the length of the label to be used for the object
    • glObjectLabel

      public static void glObjectLabel(int identifier, int name, ByteBuffer label)
      Labels a named object identified within a namespace.
      Parameters:
      identifier - the namespace from which the name of the object is allocated. One of:
      BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERTEXTURERENDERBUFFER
      FRAMEBUFFERTRANSFORM_FEEDBACK
      name - the name of the object to label
      label - a string containing the label to assign to the object
      See Also:
    • glObjectLabel

      public static void glObjectLabel(int identifier, int name, CharSequence label)
      Labels a named object identified within a namespace.
      Parameters:
      identifier - the namespace from which the name of the object is allocated. One of:
      BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERTEXTURERENDERBUFFER
      FRAMEBUFFERTRANSFORM_FEEDBACK
      name - the name of the object to label
      label - a string containing the label to assign to the object
      See Also:
    • nglGetObjectLabel

      public static void nglGetObjectLabel(int identifier, int name, int bufSize, long length, long label)
      Unsafe version of: GetObjectLabel
      Parameters:
      bufSize - the length of the buffer whose address is in label
    • glGetObjectLabel

      public static void glGetObjectLabel(int identifier, int name, @Nullable IntBuffer length, ByteBuffer label)
      Retrieves the label of a named object identified within a namespace.
      Parameters:
      identifier - the namespace from which the name of the object is allocated. One of:
      BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERTEXTURERENDERBUFFER
      FRAMEBUFFERTRANSFORM_FEEDBACK
      name - the name of the object whose label to retrieve
      length - the address of a variable to receive the length of the object label
      label - a string that will receive the object label
      See Also:
    • glGetObjectLabel

      public static String glGetObjectLabel(int identifier, int name, int bufSize)
      Retrieves the label of a named object identified within a namespace.
      Parameters:
      identifier - the namespace from which the name of the object is allocated. One of:
      BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERTEXTURERENDERBUFFER
      FRAMEBUFFERTRANSFORM_FEEDBACK
      name - the name of the object whose label to retrieve
      bufSize - the length of the buffer whose address is in label
      See Also:
    • glGetObjectLabel

      public static String glGetObjectLabel(int identifier, int name)
      Retrieves the label of a named object identified within a namespace.
      Parameters:
      identifier - the namespace from which the name of the object is allocated. One of:
      BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERTEXTURERENDERBUFFER
      FRAMEBUFFERTRANSFORM_FEEDBACK
      name - the name of the object whose label to retrieve
      See Also:
    • nglObjectPtrLabel

      public static void nglObjectPtrLabel(long ptr, int length, long label)
      Unsafe version of: ObjectPtrLabel
      Parameters:
      length - the length of the label to be used for the object
    • glObjectPtrLabel

      public static void glObjectPtrLabel(long ptr, ByteBuffer label)
      Labels a sync object identified by a pointer.
      Parameters:
      ptr - a pointer identifying a sync object
      label - a string containing the label to assign to the object
      See Also:
    • glObjectPtrLabel

      public static void glObjectPtrLabel(long ptr, CharSequence label)
      Labels a sync object identified by a pointer.
      Parameters:
      ptr - a pointer identifying a sync object
      label - a string containing the label to assign to the object
      See Also:
    • nglGetObjectPtrLabel

      public static void nglGetObjectPtrLabel(long ptr, int bufSize, long length, long label)
      Unsafe version of: GetObjectPtrLabel
      Parameters:
      bufSize - the length of the buffer whose address is in label
    • glGetObjectPtrLabel

      public static void glGetObjectPtrLabel(long ptr, @Nullable IntBuffer length, ByteBuffer label)
      Retrieves the label of a sync object identified by a pointer.
      Parameters:
      ptr - the name of the sync object whose label to retrieve
      length - a variable to receive the length of the object label
      label - a string that will receive the object label
      See Also:
    • glGetObjectPtrLabel

      public static String glGetObjectPtrLabel(long ptr, int bufSize)
      Retrieves the label of a sync object identified by a pointer.
      Parameters:
      ptr - the name of the sync object whose label to retrieve
      bufSize - the length of the buffer whose address is in label
      See Also:
    • glGetObjectPtrLabel

      public static String glGetObjectPtrLabel(long ptr)
      Retrieves the label of a sync object identified by a pointer.
      Parameters:
      ptr - the name of the sync object whose label to retrieve
      See Also:
    • glEnablei

      public static void glEnablei(int target, int index)
    • glDisablei

      public static void glDisablei(int target, int index)
    • glBlendEquationi

      public static void glBlendEquationi(int buf, int mode)
    • glBlendEquationSeparatei

      public static void glBlendEquationSeparatei(int buf, int modeRGB, int modeAlpha)
    • glBlendFunci

      public static void glBlendFunci(int buf, int src, int dst)
    • glBlendFuncSeparatei

      public static void glBlendFuncSeparatei(int buf, int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
    • glColorMaski

      public static void glColorMaski(int index, boolean r, boolean g, boolean b, boolean a)
    • glIsEnabledi

      public static boolean glIsEnabledi(int target, int index)
    • nglDrawElementsBaseVertex

      public static void nglDrawElementsBaseVertex(int mode, int count, int type, long indices, int basevertex)
    • glDrawElementsBaseVertex

      public static void glDrawElementsBaseVertex(int mode, int count, int type, long indices, int basevertex)
    • glDrawElementsBaseVertex

      public static void glDrawElementsBaseVertex(int mode, int type, ByteBuffer indices, int basevertex)
    • glDrawElementsBaseVertex

      public static void glDrawElementsBaseVertex(int mode, ByteBuffer indices, int basevertex)
    • glDrawElementsBaseVertex

      public static void glDrawElementsBaseVertex(int mode, ShortBuffer indices, int basevertex)
    • glDrawElementsBaseVertex

      public static void glDrawElementsBaseVertex(int mode, IntBuffer indices, int basevertex)
    • nglDrawRangeElementsBaseVertex

      public static void nglDrawRangeElementsBaseVertex(int mode, int start, int end, int count, int type, long indices, int basevertex)
    • glDrawRangeElementsBaseVertex

      public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, int count, int type, long indices, int basevertex)
    • glDrawRangeElementsBaseVertex

      public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, int type, ByteBuffer indices, int basevertex)
    • glDrawRangeElementsBaseVertex

      public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, ByteBuffer indices, int basevertex)
    • glDrawRangeElementsBaseVertex

      public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, ShortBuffer indices, int basevertex)
    • glDrawRangeElementsBaseVertex

      public static void glDrawRangeElementsBaseVertex(int mode, int start, int end, IntBuffer indices, int basevertex)
    • nglDrawElementsInstancedBaseVertex

      public static void nglDrawElementsInstancedBaseVertex(int mode, int count, int type, long indices, int instancecount, int basevertex)
    • glDrawElementsInstancedBaseVertex

      public static void glDrawElementsInstancedBaseVertex(int mode, int count, int type, long indices, int instancecount, int basevertex)
    • glDrawElementsInstancedBaseVertex

      public static void glDrawElementsInstancedBaseVertex(int mode, int type, ByteBuffer indices, int instancecount, int basevertex)
    • glDrawElementsInstancedBaseVertex

      public static void glDrawElementsInstancedBaseVertex(int mode, ByteBuffer indices, int instancecount, int basevertex)
    • glDrawElementsInstancedBaseVertex

      public static void glDrawElementsInstancedBaseVertex(int mode, ShortBuffer indices, int instancecount, int basevertex)
    • glDrawElementsInstancedBaseVertex

      public static void glDrawElementsInstancedBaseVertex(int mode, IntBuffer indices, int instancecount, int basevertex)
    • glFramebufferTexture

      public static void glFramebufferTexture(int target, int attachment, int texture, int level)
    • glPrimitiveBoundingBox

      public static void glPrimitiveBoundingBox(float minX, float minY, float minZ, float minW, float maxX, float maxY, float maxZ, float maxW)
      Specifies the primitive bounding box.

      Implementations may be able to optimize performance if the application provides bounds of primitives that will be generated by the tessellation primitive generator or the geometry shader prior to executing those stages. If the provided bounds are incorrect and primitives extend beyond them, the rasterizer may or may not generate fragments for the portions of primitives outside the bounds.

      Parameters:
      minX - the minimum x clip space coordinate
      minY - the minimum y clip space coordinate
      minZ - the minimum z clip space coordinate
      minW - the minimum w clip space coordinate
      maxX - the maximum x clip space coordinate
      maxY - the maximum y clip space coordinate
      maxZ - the maximum z clip space coordinate
      maxW - the maximum w clip space coordinate
      See Also:
    • glGetGraphicsResetStatus

      public static int glGetGraphicsResetStatus()
      Indicates if the GL context has been in a reset state at any point since the last call to GetGraphicsResetStatus:
      • NO_ERROR indicates that the GL context has not been in a reset state since the last call.
      • GUILTY_CONTEXT_RESET indicates that a reset has been detected that is attributable to the current GL context.
      • INNOCENT_CONTEXT_RESET indicates a reset has been detected that is not attributable to the current GL context.
      • UNKNOWN_CONTEXT_RESET indicates a detected graphics reset whose cause is unknown.

      If a reset status other than NO_ERROR is returned and subsequent calls return NO_ERROR, the context reset was encountered and completed. If a reset status is repeatedly returned, the context may be in the process of resetting.

      Reset notification behavior is determined at context creation time, and may be queried by calling GetIntegerv with the symbolic constant RESET_NOTIFICATION_STRATEGY.

      If the reset notification behavior is NO_RESET_NOTIFICATION, then the implementation will never deliver notification of reset events, and GetGraphicsResetStatus will always return NO_ERROR.

      If the behavior is LOSE_CONTEXT_ON_RESET, a graphics reset will result in a lost context and require creating a new context as described above. In this case GetGraphicsResetStatus will return an appropriate value from those described above.

      If a graphics reset notification occurs in a context, a notification must also occur in all other contexts which share objects with that context.

      After a graphics reset has occurred on a context, subsequent GL commands on that context (or any context which shares with that context) will generate a CONTEXT_LOST error. Such commands will not have side effects (in particular, they will not modify memory passed by pointer for query results, and may not block indefinitely or cause termination of the application. Exceptions to this behavior include:

      • GetError and GetGraphicsResetStatus behave normally following a graphics reset, so that the application can determine a reset has occurred, and when it is safe to destroy and recreate the context.
      • Any commands which might cause a polling application to block indefinitely will generate a CONTEXT_LOST error, but will also return a value indicating completion to the application.
      See Also:
    • nglReadnPixels

      public static void nglReadnPixels(int x, int y, int width, int height, int format, int type, int bufSize, long pixels)
      Unsafe version of: ReadnPixels
      Parameters:
      bufSize - the maximum number of bytes to write into data
    • glReadnPixels

      public static void glReadnPixels(int x, int y, int width, int height, int format, int type, int bufSize, long pixels)
      Behaves identically to ReadPixels except that it does not write more than bufSize bytes into data
      Parameters:
      x - the left pixel coordinate
      y - the lower pixel coordinate
      width - the number of pixels to read in the x-dimension
      height - the number of pixels to read in the y-dimension
      format - the pixel format
      type - the pixel type
      bufSize - the maximum number of bytes to write into data
      pixels - a buffer in which to place the returned pixel data
      See Also:
    • glReadnPixels

      public static void glReadnPixels(int x, int y, int width, int height, int format, int type, ByteBuffer pixels)
      Behaves identically to ReadPixels except that it does not write more than bufSize bytes into data
      Parameters:
      x - the left pixel coordinate
      y - the lower pixel coordinate
      width - the number of pixels to read in the x-dimension
      height - the number of pixels to read in the y-dimension
      format - the pixel format
      type - the pixel type
      pixels - a buffer in which to place the returned pixel data
      See Also:
    • glReadnPixels

      public static void glReadnPixels(int x, int y, int width, int height, int format, int type, ShortBuffer pixels)
      Behaves identically to ReadPixels except that it does not write more than bufSize bytes into data
      Parameters:
      x - the left pixel coordinate
      y - the lower pixel coordinate
      width - the number of pixels to read in the x-dimension
      height - the number of pixels to read in the y-dimension
      format - the pixel format
      type - the pixel type
      pixels - a buffer in which to place the returned pixel data
      See Also:
    • glReadnPixels

      public static void glReadnPixels(int x, int y, int width, int height, int format, int type, IntBuffer pixels)
      Behaves identically to ReadPixels except that it does not write more than bufSize bytes into data
      Parameters:
      x - the left pixel coordinate
      y - the lower pixel coordinate
      width - the number of pixels to read in the x-dimension
      height - the number of pixels to read in the y-dimension
      format - the pixel format
      type - the pixel type
      pixels - a buffer in which to place the returned pixel data
      See Also:
    • glReadnPixels

      public static void glReadnPixels(int x, int y, int width, int height, int format, int type, FloatBuffer pixels)
      Behaves identically to ReadPixels except that it does not write more than bufSize bytes into data
      Parameters:
      x - the left pixel coordinate
      y - the lower pixel coordinate
      width - the number of pixels to read in the x-dimension
      height - the number of pixels to read in the y-dimension
      format - the pixel format
      type - the pixel type
      pixels - a buffer in which to place the returned pixel data
      See Also:
    • nglGetnUniformfv

      public static void nglGetnUniformfv(int program, int location, int bufSize, long params)
      Unsafe version of: GetnUniformfv
      Parameters:
      bufSize - the maximum number of bytes to write to params
    • glGetnUniformfv

      public static void glGetnUniformfv(int program, int location, FloatBuffer params)
      Returns the value or values of a uniform of the default uniform block.
      Parameters:
      program - the program object
      location - the uniform location
      params - the buffer in which to place the returned data
      See Also:
    • glGetnUniformf

      public static float glGetnUniformf(int program, int location)
      Returns the value or values of a uniform of the default uniform block.
      Parameters:
      program - the program object
      location - the uniform location
      See Also:
    • nglGetnUniformiv

      public static void nglGetnUniformiv(int program, int location, int bufSize, long params)
      Unsafe version of: GetnUniformiv
      Parameters:
      bufSize - the maximum number of bytes to write to params
    • glGetnUniformiv

      public static void glGetnUniformiv(int program, int location, FloatBuffer params)
      Integer version of GetnUniformfv.
      Parameters:
      program - the program object
      location - the uniform location
      params - the buffer in which to place the returned data
      See Also:
    • glGetnUniformi

      public static float glGetnUniformi(int program, int location)
      Integer version of GetnUniformfv.
      Parameters:
      program - the program object
      location - the uniform location
      See Also:
    • nglGetnUniformuiv

      public static void nglGetnUniformuiv(int program, int location, int bufSize, long params)
      Unsafe version of: GetnUniformuiv
      Parameters:
      bufSize - the maximum number of bytes to write to params
    • glGetnUniformuiv

      public static void glGetnUniformuiv(int program, int location, FloatBuffer params)
      Unsigned version of GetnUniformiv.
      Parameters:
      program - the program object
      location - the uniform location
      params - the buffer in which to place the returned data
      See Also:
    • glGetnUniformui

      public static float glGetnUniformui(int program, int location)
      Unsigned version of GetnUniformiv.
      Parameters:
      program - the program object
      location - the uniform location
      See Also:
    • glMinSampleShading

      public static void glMinSampleShading(float value)
    • glPatchParameteri

      public static void glPatchParameteri(int pname, int value)
    • nglTexParameterIiv

      public static void nglTexParameterIiv(int target, int pname, long params)
    • glTexParameterIiv

      public static void glTexParameterIiv(int target, int pname, IntBuffer params)
    • glTexParameterIi

      public static void glTexParameterIi(int target, int pname, int param)
    • nglTexParameterIuiv

      public static void nglTexParameterIuiv(int target, int pname, long params)
    • glTexParameterIuiv

      public static void glTexParameterIuiv(int target, int pname, IntBuffer params)
    • glTexParameterIui

      public static void glTexParameterIui(int target, int pname, int param)
    • nglGetTexParameterIiv

      public static void nglGetTexParameterIiv(int target, int pname, long params)
    • glGetTexParameterIiv

      public static void glGetTexParameterIiv(int target, int pname, IntBuffer params)
    • glGetTexParameterIi

      public static int glGetTexParameterIi(int target, int pname)
    • nglGetTexParameterIuiv

      public static void nglGetTexParameterIuiv(int target, int pname, long params)
    • glGetTexParameterIuiv

      public static void glGetTexParameterIuiv(int target, int pname, IntBuffer params)
    • glGetTexParameterIui

      public static int glGetTexParameterIui(int target, int pname)
    • nglSamplerParameterIiv

      public static void nglSamplerParameterIiv(int sampler, int pname, long params)
    • glSamplerParameterIiv

      public static void glSamplerParameterIiv(int sampler, int pname, IntBuffer params)
    • glSamplerParameterIi

      public static void glSamplerParameterIi(int sampler, int pname, int param)
    • nglSamplerParameterIuiv

      public static void nglSamplerParameterIuiv(int sampler, int pname, long params)
    • glSamplerParameterIuiv

      public static void glSamplerParameterIuiv(int sampler, int pname, IntBuffer params)
    • glSamplerParameterIui

      public static void glSamplerParameterIui(int sampler, int pname, int param)
    • nglGetSamplerParameterIiv

      public static void nglGetSamplerParameterIiv(int sampler, int pname, long params)
    • glGetSamplerParameterIiv

      public static void glGetSamplerParameterIiv(int sampler, int pname, IntBuffer params)
    • glGetSamplerParameterIi

      public static int glGetSamplerParameterIi(int sampler, int pname)
    • nglGetSamplerParameterIuiv

      public static void nglGetSamplerParameterIuiv(int sampler, int pname, long params)
    • glGetSamplerParameterIuiv

      public static void glGetSamplerParameterIuiv(int sampler, int pname, IntBuffer params)
    • glGetSamplerParameterIui

      public static int glGetSamplerParameterIui(int sampler, int pname)
    • glTexBuffer

      public static void glTexBuffer(int target, int internalformat, int buffer)
    • glTexBufferRange

      public static void glTexBufferRange(int target, int internalformat, int buffer, long offset, long size)
    • glTexStorage3DMultisample

      public static void glTexStorage3DMultisample(int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations)
    • glDebugMessageControl

      public static void glDebugMessageControl(int source, int type, int severity, int[] ids, boolean enabled)
      Array version of: DebugMessageControl
      See Also:
    • glGetDebugMessageLog

      public static int glGetDebugMessageLog(int count, @Nullable int[] sources, @Nullable int[] types, @Nullable int[] ids, @Nullable int[] severities, @Nullable int[] lengths, @Nullable ByteBuffer messageLog)
      Array version of: GetDebugMessageLog
      See Also:
    • glGetObjectLabel

      public static void glGetObjectLabel(int identifier, int name, @Nullable int[] length, ByteBuffer label)
      Array version of: GetObjectLabel
      See Also:
    • glGetObjectPtrLabel

      public static void glGetObjectPtrLabel(long ptr, @Nullable int[] length, ByteBuffer label)
      Array version of: GetObjectPtrLabel
      See Also:
    • glReadnPixels

      public static void glReadnPixels(int x, int y, int width, int height, int format, int type, short[] pixels)
      Array version of: ReadnPixels
      See Also:
    • glReadnPixels

      public static void glReadnPixels(int x, int y, int width, int height, int format, int type, int[] pixels)
      Array version of: ReadnPixels
      See Also:
    • glReadnPixels

      public static void glReadnPixels(int x, int y, int width, int height, int format, int type, float[] pixels)
      Array version of: ReadnPixels
      See Also:
    • glGetnUniformfv

      public static void glGetnUniformfv(int program, int location, float[] params)
      Array version of: GetnUniformfv
      See Also:
    • glGetnUniformiv

      public static void glGetnUniformiv(int program, int location, float[] params)
      Array version of: GetnUniformiv
      See Also:
    • glGetnUniformuiv

      public static void glGetnUniformuiv(int program, int location, float[] params)
      Array version of: GetnUniformuiv
      See Also:
    • glTexParameterIiv

      public static void glTexParameterIiv(int target, int pname, int[] params)
      Array version of: TexParameterIiv
      See Also:
    • glTexParameterIuiv

      public static void glTexParameterIuiv(int target, int pname, int[] params)
      Array version of: TexParameterIuiv
      See Also:
    • glGetTexParameterIiv

      public static void glGetTexParameterIiv(int target, int pname, int[] params)
      Array version of: GetTexParameterIiv
      See Also:
    • glGetTexParameterIuiv

      public static void glGetTexParameterIuiv(int target, int pname, int[] params)
      Array version of: GetTexParameterIuiv
      See Also:
    • glSamplerParameterIiv

      public static void glSamplerParameterIiv(int sampler, int pname, int[] params)
      Array version of: SamplerParameterIiv
      See Also:
    • glSamplerParameterIuiv

      public static void glSamplerParameterIuiv(int sampler, int pname, int[] params)
      Array version of: SamplerParameterIuiv
      See Also:
    • glGetSamplerParameterIiv

      public static void glGetSamplerParameterIiv(int sampler, int pname, int[] params)
      Array version of: GetSamplerParameterIiv
      See Also:
    • glGetSamplerParameterIuiv

      public static void glGetSamplerParameterIuiv(int sampler, int pname, int[] params)
      Array version of: GetSamplerParameterIuiv
      See Also: