Class GL43
- java.lang.Object
-
- org.lwjgl.opengl.GL43
-
public class GL43 extends java.lang.Object
The core OpenGL 4.3 functionality. OpenGL 4.3 implementations support revision 4.30 of the OpenGL Shading Language.Extensions promoted to core in this release:
- ARB_arrays_of_arrays
- ARB_ES3_compatibility
- ARB_clear_buffer_object
- ARB_compute_shader
- ARB_copy_image
- ARB_debug_group
- ARB_debug_label
- ARB_debug_output2
- ARB_debug_output
- ARB_explicit_uniform_location
- ARB_fragment_layer_viewport
- ARB_framebuffer_no_attachments
- ARB_internalformat_query2
- ARB_invalidate_subdata
- ARB_multi_draw_indirect
- ARB_program_interface_query
- ARB_robust_buffer_access_behavior
- ARB_shader_image_size
- ARB_shader_storage_buffer_object
- ARB_stencil_texturing
- ARB_texture_buffer_range
- ARB_texture_query_levels
- ARB_texture_storage_multisample
- ARB_texture_view
- ARB_vertex_attrib_binding
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_ACTIVE_RESOURCES
Accepted by thepname
parameter of GetProgramInterfaceiv.static int
GL_ACTIVE_VARIABLES
Accepted in theprops
array of GetProgramResourceiv.static int
GL_ANY_SAMPLES_PASSED_CONSERVATIVE
Accepted by thetarget
parameter of BeginQuery, EndQuery, GetQueryIndexediv and GetQueryiv.static int
GL_ARRAY_SIZE
GL_ARRAY_STRIDE
GL_ATOMIC_COUNTER_BUFFER_INDEXAccepted in theprops
array of GetProgramResourceiv.static int
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER
Accepted by thepname
parameter of GetActiveAtomicCounterBufferiv.static int
GL_AUTO_GENERATE_MIPMAP
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_BLOCK_INDEX
Accepted in theprops
array of GetProgramResourceiv.static int
GL_BUFFER
Tokens accepted or provided by theidentifier
parameters of ObjectLabel and GetObjectLabel.static int
GL_BUFFER_BINDING
GL_BUFFER_DATA_SIZEAccepted in theprops
array of GetProgramResourceiv.static int
GL_BUFFER_VARIABLE
Accepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_CAVEAT_SUPPORT
Returned as possible responses for variouspname
queries to GetInternalformativ and GetInternalformati64v.static int
GL_CLEAR_BUFFER
GL_COLOR_COMPONENTS
GL_COLOR_ENCODING
GL_COLOR_RENDERABLEAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_COMPRESSED_R11_EAC
GL_COMPRESSED_RG11_EAC
GL_COMPRESSED_RGB8_ETC2
GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2
GL_COMPRESSED_RGBA8_ETC2_EAC
GL_COMPRESSED_SIGNED_R11_EAC
GL_COMPRESSED_SIGNED_RG11_EAC
GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC
GL_COMPRESSED_SRGB8_ETC2
GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2Accepted by theinternalformat
parameter of CompressedTexImage2D.static int
GL_COMPUTE_SHADER
Accepted by thetype
parameter of CreateShader and returned in theparams
parameter by GetShaderiv.static int
GL_COMPUTE_SHADER_BIT
Accepted by thestages
parameter of UseProgramStages.static int
GL_COMPUTE_SUBROUTINE
GL_COMPUTE_SUBROUTINE_UNIFORMAccepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_COMPUTE_TEXTURE
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_COMPUTE_WORK_GROUP_SIZE
Accepted by thepname
parameter of GetProgramiv.static int
GL_CONTEXT_FLAG_DEBUG_BIT
Returned by GetIntegerv whenpname
is CONTEXT_FLAGS.static int
GL_DEBUG_CALLBACK_FUNCTION
GL_DEBUG_CALLBACK_USER_PARAMTokens accepted by thepname
parameter of GetPointerv.static int
GL_DEBUG_GROUP_STACK_DEPTH
GL_DEBUG_LOGGED_MESSAGES
GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTHTokens accepted by thevalue
parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.static int
GL_DEBUG_OUTPUT
GL_DEBUG_OUTPUT_SYNCHRONOUSTokens accepted by thetarget
parameters of Enable, Disable, and IsEnabled.static int
GL_DEBUG_SEVERITY_HIGH
GL_DEBUG_SEVERITY_LOW
GL_DEBUG_SEVERITY_MEDIUM
GL_DEBUG_SEVERITY_NOTIFICATIONTokens accepted or provided by theseverity
parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and theseverities
parameter of GetDebugMessageLog.static int
GL_DEBUG_SOURCE_API
GL_DEBUG_SOURCE_APPLICATION
GL_DEBUG_SOURCE_OTHER
GL_DEBUG_SOURCE_SHADER_COMPILER
GL_DEBUG_SOURCE_THIRD_PARTY
GL_DEBUG_SOURCE_WINDOW_SYSTEMTokens accepted or provided by thesource
parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thesources
parameter of GetDebugMessageLog.static int
GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR
GL_DEBUG_TYPE_ERROR
GL_DEBUG_TYPE_MARKER
GL_DEBUG_TYPE_OTHER
GL_DEBUG_TYPE_PERFORMANCETokens accepted or provided by thetype
parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thetypes
parameter of GetDebugMessageLog.static int
GL_DEBUG_TYPE_POP_GROUP
Tokens accepted or provided by thetype
parameters of DebugMessageControl and DEBUGPROC, and thetypes
parameter of GetDebugMessageLog.static int
GL_DEBUG_TYPE_PORTABILITY
Tokens accepted or provided by thetype
parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thetypes
parameter of GetDebugMessageLog.static int
GL_DEBUG_TYPE_PUSH_GROUP
Tokens accepted or provided by thetype
parameters of DebugMessageControl and DEBUGPROC, and thetypes
parameter of GetDebugMessageLog.static int
GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR
Tokens accepted or provided by thetype
parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thetypes
parameter of GetDebugMessageLog.static int
GL_DEPTH_COMPONENTS
GL_DEPTH_RENDERABLEAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_DEPTH_STENCIL_TEXTURE_MODE
Accepted by thepname
parameter of TexParameter* and GetTexParameter*.static int
GL_DISPATCH_INDIRECT_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.static int
GL_DISPATCH_INDIRECT_BUFFER_BINDING
Accepted by thevalue
parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_DISPLAY_LIST
Tokens accepted or provided by theidentifier
parameters of ObjectLabel and GetObjectLabel.static int
GL_FILTER
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_FRAGMENT_SUBROUTINE
GL_FRAGMENT_SUBROUTINE_UNIFORMAccepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_FRAGMENT_TEXTURE
GL_FRAMEBUFFER_BLENDAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
GL_FRAMEBUFFER_DEFAULT_HEIGHT
GL_FRAMEBUFFER_DEFAULT_LAYERS
GL_FRAMEBUFFER_DEFAULT_SAMPLES
GL_FRAMEBUFFER_DEFAULT_WIDTHAccepted by thepname
parameter of FramebufferParameteri, GetFramebufferParameteriv, NamedFramebufferParameteriEXT, and GetNamedFramebufferParameterivEXT.static int
GL_FRAMEBUFFER_RENDERABLE
GL_FRAMEBUFFER_RENDERABLE_LAYEREDAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_FULL_SUPPORT
Returned as possible responses for variouspname
queries to GetInternalformativ and GetInternalformati64v.static int
GL_GEOMETRY_SUBROUTINE
GL_GEOMETRY_SUBROUTINE_UNIFORMAccepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_GEOMETRY_TEXTURE
GL_GET_TEXTURE_IMAGE_FORMAT
GL_GET_TEXTURE_IMAGE_TYPEAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_IMAGE_CLASS_1_X_16
GL_IMAGE_CLASS_1_X_32
GL_IMAGE_CLASS_1_X_8
GL_IMAGE_CLASS_10_10_10_2
GL_IMAGE_CLASS_11_11_10
GL_IMAGE_CLASS_2_X_16
GL_IMAGE_CLASS_2_X_32
GL_IMAGE_CLASS_2_X_8
GL_IMAGE_CLASS_4_X_16
GL_IMAGE_CLASS_4_X_32
GL_IMAGE_CLASS_4_X_8Returned as possible responses for variouspname
queries to GetInternalformativ and GetInternalformati64v.static int
GL_IMAGE_COMPATIBILITY_CLASS
GL_IMAGE_PIXEL_FORMAT
GL_IMAGE_PIXEL_TYPE
GL_IMAGE_TEXEL_SIZE
GL_INTERNALFORMAT_ALPHA_SIZE
GL_INTERNALFORMAT_ALPHA_TYPE
GL_INTERNALFORMAT_BLUE_SIZE
GL_INTERNALFORMAT_BLUE_TYPE
GL_INTERNALFORMAT_DEPTH_SIZE
GL_INTERNALFORMAT_DEPTH_TYPE
GL_INTERNALFORMAT_GREEN_SIZE
GL_INTERNALFORMAT_GREEN_TYPE
GL_INTERNALFORMAT_PREFERRED
GL_INTERNALFORMAT_RED_SIZE
GL_INTERNALFORMAT_RED_TYPE
GL_INTERNALFORMAT_SHARED_SIZE
GL_INTERNALFORMAT_STENCIL_SIZE
GL_INTERNALFORMAT_STENCIL_TYPE
GL_INTERNALFORMAT_SUPPORTEDAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_IS_PER_PATCH
GL_IS_ROW_MAJOR
GL_LOCATION
GL_LOCATION_INDEXAccepted in theprops
array of GetProgramResourceiv.static int
GL_MANUAL_GENERATE_MIPMAP
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_MATRIX_STRIDE
Accepted in theprops
array of GetProgramResourceiv.static int
GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS
Accepted by thepname
parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.static int
GL_MAX_COMBINED_DIMENSIONS
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES
Alias for the existing token MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS.static int
GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS
Accepted by thepname
parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS
GL_MAX_COMPUTE_ATOMIC_COUNTERS
GL_MAX_COMPUTE_IMAGE_UNIFORMSAccepted by thepname
parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.static int
GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS
Accepted by thepname
parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_COMPUTE_SHARED_MEMORY_SIZE
GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS
GL_MAX_COMPUTE_UNIFORM_BLOCKS
GL_MAX_COMPUTE_UNIFORM_COMPONENTSAccepted by thepname
parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.static int
GL_MAX_COMPUTE_WORK_GROUP_COUNT
Accepted by thepname
parameter of GetIntegeri_v, GetBooleani_v, GetFloati_v, GetDoublei_v and GetInteger64i_v.static int
GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS
Accepted by thepname
parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.static int
GL_MAX_COMPUTE_WORK_GROUP_SIZE
Accepted by thepname
parameter of GetIntegeri_v, GetBooleani_v, GetFloati_v, GetDoublei_v and GetInteger64i_v.static int
GL_MAX_DEBUG_GROUP_STACK_DEPTH
GL_MAX_DEBUG_LOGGED_MESSAGES
GL_MAX_DEBUG_MESSAGE_LENGTHTokens accepted by thevalue
parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.static int
GL_MAX_DEPTH
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_MAX_ELEMENT_INDEX
Accepted by thevalue
parameter of the GetInteger* functions.static int
GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS
GL_MAX_FRAMEBUFFER_HEIGHT
GL_MAX_FRAMEBUFFER_LAYERS
GL_MAX_FRAMEBUFFER_SAMPLES
GL_MAX_FRAMEBUFFER_WIDTH
GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKSAccepted by thepname
parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_HEIGHT
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_MAX_LABEL_LENGTH
Tokens accepted by thevalue
parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.static int
GL_MAX_LAYERS
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_MAX_NAME_LENGTH
GL_MAX_NUM_ACTIVE_VARIABLES
GL_MAX_NUM_COMPATIBLE_SUBROUTINESAccepted by thepname
parameter of GetProgramInterfaceiv.static int
GL_MAX_SHADER_STORAGE_BLOCK_SIZE
GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS
GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS
GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKSAccepted by thepname
parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_UNIFORM_LOCATIONS
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static int
GL_MAX_VERTEX_ATTRIB_BINDINGS
GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSETAccepted by thepname
parameter of GetIntegerv, ....static int
GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS
Accepted by thepname
parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_WIDTH
GL_MIPMAPAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_NAME_LENGTH
GL_NUM_ACTIVE_VARIABLESAccepted in theprops
array of GetProgramResourceiv.static int
GL_NUM_SHADING_LANGUAGE_VERSIONS
No.static int
GL_OFFSET
Accepted in theprops
array of GetProgramResourceiv.static int
GL_PRIMITIVE_RESTART_FIXED_INDEX
Accepted by thetarget
parameter of Enable and Disable.static int
GL_PROGRAM
Tokens accepted or provided by theidentifier
parameters of ObjectLabel and GetObjectLabel.static int
GL_PROGRAM_INPUT
GL_PROGRAM_OUTPUTAccepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_PROGRAM_PIPELINE
GL_QUERYTokens accepted or provided by theidentifier
parameters of ObjectLabel and GetObjectLabel.static int
GL_READ_PIXELS
GL_READ_PIXELS_FORMAT
GL_READ_PIXELS_TYPEAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_REFERENCED_BY_COMPUTE_SHADER
GL_REFERENCED_BY_FRAGMENT_SHADER
GL_REFERENCED_BY_GEOMETRY_SHADER
GL_REFERENCED_BY_TESS_CONTROL_SHADER
GL_REFERENCED_BY_TESS_EVALUATION_SHADER
GL_REFERENCED_BY_VERTEX_SHADERAccepted in theprops
array of GetProgramResourceiv.static int
GL_SAMPLER
GL_SHADERTokens accepted or provided by theidentifier
parameters of ObjectLabel and GetObjectLabel.static int
GL_SHADER_IMAGE_ATOMIC
GL_SHADER_IMAGE_LOAD
GL_SHADER_IMAGE_STOREAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_SHADER_STORAGE_BARRIER_BIT
Accepted in thebarriers
bitfield in glMemoryBarrier.static int
GL_SHADER_STORAGE_BLOCK
Accepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_SHADER_STORAGE_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.static int
GL_SHADER_STORAGE_BUFFER_BINDING
Accepted by thepname
parameter of GetIntegerv, GetIntegeri_v, GetBooleanv, GetInteger64v, GetFloatv, GetDoublev, GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, and GetInteger64i_v.static int
GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT
Accepted by thepname
parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_SHADER_STORAGE_BUFFER_SIZE
GL_SHADER_STORAGE_BUFFER_STARTAccepted by thepname
parameter of GetIntegeri_v, GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, and GetInteger64i_v.static int
GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST
GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE
GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST
GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE
GL_SRGB_READ
GL_SRGB_WRITE
GL_STENCIL_COMPONENTS
GL_STENCIL_RENDERABLEAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_TESS_CONTROL_SUBROUTINE
GL_TESS_CONTROL_SUBROUTINE_UNIFORMAccepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_TESS_CONTROL_TEXTURE
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_TESS_EVALUATION_SUBROUTINE
GL_TESS_EVALUATION_SUBROUTINE_UNIFORMAccepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_TESS_EVALUATION_TEXTURE
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_TEXTURE_BUFFER_OFFSET
Accepted by thepname
parameter of GetTexLevelParameter.static int
GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_TEXTURE_BUFFER_SIZE
Accepted by thepname
parameter of GetTexLevelParameter.static int
GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT
GL_TEXTURE_COMPRESSED_BLOCK_SIZE
GL_TEXTURE_COMPRESSED_BLOCK_WIDTH
GL_TEXTURE_GATHER
GL_TEXTURE_GATHER_SHADOW
GL_TEXTURE_IMAGE_FORMAT
GL_TEXTURE_IMAGE_TYPEAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_TEXTURE_IMMUTABLE_LEVELS
Accepted by thepname
parameters of GetTexParameterfv and GetTexParameteriv.static int
GL_TEXTURE_SHADOW
GL_TEXTURE_VIEWAccepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_TEXTURE_VIEW_MIN_LAYER
GL_TEXTURE_VIEW_MIN_LEVEL
GL_TEXTURE_VIEW_NUM_LAYERS
GL_TEXTURE_VIEW_NUM_LEVELSAccepted by thepname
parameters of GetTexParameterfv and GetTexParameteriv.static int
GL_TOP_LEVEL_ARRAY_SIZE
GL_TOP_LEVEL_ARRAY_STRIDEAccepted in theprops
array of GetProgramResourceiv.static int
GL_TRANSFORM_FEEDBACK_VARYING
Accepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_TYPE
Accepted in theprops
array of GetProgramResourceiv.static int
GL_UNIFORM
GL_UNIFORM_BLOCKAccepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER
Accepted by thepname
parameter of GetActiveUniformBlockiv.static int
GL_VERTEX_ATTRIB_ARRAY_LONG
Vertex attrib array has unconverted doubles.static int
GL_VERTEX_ATTRIB_BINDING
GL_VERTEX_ATTRIB_RELATIVE_OFFSETAccepted by thepname
parameter of GetVertexAttrib*v.static int
GL_VERTEX_BINDING_BUFFER
GL_VERTEX_BINDING_DIVISOR
GL_VERTEX_BINDING_OFFSET
GL_VERTEX_BINDING_STRIDEAccepted by thetarget
parameter of GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, and GetInteger64i_v.static int
GL_VERTEX_SUBROUTINE
GL_VERTEX_SUBROUTINE_UNIFORMAccepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static int
GL_VERTEX_TEXTURE
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.static int
GL_VIEW_CLASS_128_BITS
GL_VIEW_CLASS_16_BITS
GL_VIEW_CLASS_24_BITS
GL_VIEW_CLASS_32_BITS
GL_VIEW_CLASS_48_BITS
GL_VIEW_CLASS_64_BITS
GL_VIEW_CLASS_8_BITS
GL_VIEW_CLASS_96_BITS
GL_VIEW_CLASS_BPTC_FLOAT
GL_VIEW_CLASS_BPTC_UNORM
GL_VIEW_CLASS_RGTC1_RED
GL_VIEW_CLASS_RGTC2_RG
GL_VIEW_CLASS_S3TC_DXT1_RGB
GL_VIEW_CLASS_S3TC_DXT1_RGBA
GL_VIEW_CLASS_S3TC_DXT3_RGBA
GL_VIEW_CLASS_S3TC_DXT5_RGBAReturned as possible responses for variouspname
queries to GetInternalformativ and GetInternalformati64v.static int
GL_VIEW_COMPATIBILITY_CLASS
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
glBindVertexBuffer(int bindingindex, int buffer, long offset, int stride)
static void
glClearBufferData(int target, int internalformat, int format, int type, java.nio.ByteBuffer data)
static void
glClearBufferData(int target, int internalformat, int format, int type, float[] data)
static void
glClearBufferData(int target, int internalformat, int format, int type, java.nio.FloatBuffer data)
static void
glClearBufferData(int target, int internalformat, int format, int type, int[] data)
static void
glClearBufferData(int target, int internalformat, int format, int type, java.nio.IntBuffer data)
static void
glClearBufferData(int target, int internalformat, int format, int type, short[] data)
static void
glClearBufferData(int target, int internalformat, int format, int type, java.nio.ShortBuffer data)
static void
glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.ByteBuffer data)
static void
glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, float[] data)
static void
glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.FloatBuffer data)
static void
glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, int[] data)
static void
glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.IntBuffer data)
static void
glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, short[] data)
static void
glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.ShortBuffer data)
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)
static void
glDebugMessageCallback(GLDebugMessageCallbackI callback, long userParam)
static void
glDebugMessageControl(int source, int type, int severity, int[] ids, boolean enabled)
static void
glDebugMessageControl(int source, int type, int severity, int id, boolean enabled)
static void
glDebugMessageControl(int source, int type, int severity, java.nio.IntBuffer ids, boolean enabled)
static void
glDebugMessageInsert(int source, int type, int id, int severity, java.nio.ByteBuffer message)
static void
glDebugMessageInsert(int source, int type, int id, int severity, java.lang.CharSequence message)
static void
glDispatchCompute(int num_groups_x, int num_groups_y, int num_groups_z)
static void
glDispatchComputeIndirect(long indirect)
static void
glFramebufferParameteri(int target, int pname, int param)
static int
glGetDebugMessageLog(int count, int[] sources, int[] types, int[] ids, int[] severities, int[] lengths, java.nio.ByteBuffer messageLog)
static int
glGetDebugMessageLog(int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog)
static int
glGetFramebufferParameteri(int target, int pname)
static void
glGetFramebufferParameteriv(int target, int pname, int[] params)
static void
glGetFramebufferParameteriv(int target, int pname, java.nio.IntBuffer params)
static long
glGetInternalformati64(int target, int internalformat, int pname)
static void
glGetInternalformati64v(int target, int internalformat, int pname, long[] params)
static void
glGetInternalformati64v(int target, int internalformat, int pname, java.nio.LongBuffer params)
static java.lang.String
glGetObjectLabel(int identifier, int name)
static java.lang.String
glGetObjectLabel(int identifier, int name, int bufSize)
static void
glGetObjectLabel(int identifier, int name, int[] length, java.nio.ByteBuffer label)
static void
glGetObjectLabel(int identifier, int name, java.nio.IntBuffer length, java.nio.ByteBuffer label)
static java.lang.String
glGetObjectPtrLabel(long ptr)
static java.lang.String
glGetObjectPtrLabel(long ptr, int bufSize)
static void
glGetObjectPtrLabel(long ptr, int[] length, java.nio.ByteBuffer label)
static void
glGetObjectPtrLabel(long ptr, java.nio.IntBuffer length, java.nio.ByteBuffer label)
static int
glGetProgramInterfacei(int program, int programInterface, int pname)
static void
glGetProgramInterfaceiv(int program, int programInterface, int pname, int[] params)
static void
glGetProgramInterfaceiv(int program, int programInterface, int pname, java.nio.IntBuffer params)
static int
glGetProgramResourceIndex(int program, int programInterface, java.nio.ByteBuffer name)
static int
glGetProgramResourceIndex(int program, int programInterface, java.lang.CharSequence name)
static void
glGetProgramResourceiv(int program, int programInterface, int index, int[] props, int[] length, int[] params)
static void
glGetProgramResourceiv(int program, int programInterface, int index, java.nio.IntBuffer props, java.nio.IntBuffer length, java.nio.IntBuffer params)
static int
glGetProgramResourceLocation(int program, int programInterface, java.nio.ByteBuffer name)
static int
glGetProgramResourceLocation(int program, int programInterface, java.lang.CharSequence name)
static int
glGetProgramResourceLocationIndex(int program, int programInterface, java.nio.ByteBuffer name)
static int
glGetProgramResourceLocationIndex(int program, int programInterface, java.lang.CharSequence name)
static java.lang.String
glGetProgramResourceName(int program, int programInterface, int index)
static java.lang.String
glGetProgramResourceName(int program, int programInterface, int index, int bufSize)
static void
glGetProgramResourceName(int program, int programInterface, int index, int[] length, java.nio.ByteBuffer name)
static void
glGetProgramResourceName(int program, int programInterface, int index, java.nio.IntBuffer length, java.nio.ByteBuffer name)
static void
glInvalidateBufferData(int buffer)
static void
glInvalidateBufferSubData(int buffer, long offset, long length)
static void
glInvalidateFramebuffer(int target, int attachment)
static void
glInvalidateFramebuffer(int target, int[] attachments)
static void
glInvalidateFramebuffer(int target, java.nio.IntBuffer attachments)
static void
glInvalidateSubFramebuffer(int target, int[] attachments, int x, int y, int width, int height)
static void
glInvalidateSubFramebuffer(int target, java.nio.IntBuffer attachments, int x, int y, int width, int height)
static void
glInvalidateSubFramebuffer(int target, int attachment, int x, int y, int width, int height)
static void
glInvalidateTexImage(int texture, int level)
static void
glInvalidateTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth)
static void
glMultiDrawArraysIndirect(int mode, java.nio.ByteBuffer indirect, int primcount, int stride)
static void
glMultiDrawArraysIndirect(int mode, int[] indirect, int primcount, int stride)
static void
glMultiDrawArraysIndirect(int mode, java.nio.IntBuffer indirect, int primcount, int stride)
static void
glMultiDrawArraysIndirect(int mode, long indirect, int primcount, int stride)
static void
glMultiDrawElementsIndirect(int mode, int type, java.nio.ByteBuffer indirect, int primcount, int stride)
static void
glMultiDrawElementsIndirect(int mode, int type, int[] indirect, int primcount, int stride)
static void
glMultiDrawElementsIndirect(int mode, int type, java.nio.IntBuffer indirect, int primcount, int stride)
static void
glMultiDrawElementsIndirect(int mode, int type, long indirect, int primcount, int stride)
static void
glObjectLabel(int identifier, int name, java.nio.ByteBuffer label)
static void
glObjectLabel(int identifier, int name, java.lang.CharSequence label)
static void
glObjectPtrLabel(long ptr, java.nio.ByteBuffer label)
static void
glObjectPtrLabel(long ptr, java.lang.CharSequence label)
static void
glPopDebugGroup()
static void
glPushDebugGroup(int source, int id, java.nio.ByteBuffer message)
static void
glPushDebugGroup(int source, int id, java.lang.CharSequence message)
static void
glShaderStorageBlockBinding(int program, int storageBlockIndex, int storageBlockBinding)
static void
glTexBufferRange(int target, int internalformat, int buffer, long offset, long size)
static void
glTexStorage2DMultisample(int target, int samples, int internalformat, int width, int height, boolean fixedsamplelocations)
static void
glTexStorage3DMultisample(int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations)
static void
glTextureView(int texture, int target, int origtexture, int internalformat, int minlevel, int numlevels, int minlayer, int numlayers)
static void
glVertexAttribBinding(int attribindex, int bindingindex)
static void
glVertexAttribFormat(int attribindex, int size, int type, boolean normalized, int relativeoffset)
static void
glVertexAttribIFormat(int attribindex, int size, int type, int relativeoffset)
static void
glVertexAttribLFormat(int attribindex, int size, int type, int relativeoffset)
static void
glVertexBindingDivisor(int bindingindex, int divisor)
-
-
-
Field Detail
-
GL_NUM_SHADING_LANGUAGE_VERSIONS
No. of supported Shading Language Versions. Accepted by thepname
parameter of GetIntegerv.
-
GL_VERTEX_ATTRIB_ARRAY_LONG
Vertex attrib array has unconverted doubles. Accepted by thepname
parameter of GetVertexAttribiv.
-
GL_COMPRESSED_RGB8_ETC2, GL_COMPRESSED_SRGB8_ETC2, GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, GL_COMPRESSED_RGBA8_ETC2_EAC, GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, GL_COMPRESSED_R11_EAC, GL_COMPRESSED_SIGNED_R11_EAC, GL_COMPRESSED_RG11_EAC, GL_COMPRESSED_SIGNED_RG11_EAC
Accepted by theinternalformat
parameter of CompressedTexImage2D.
-
GL_PRIMITIVE_RESTART_FIXED_INDEX
Accepted by thetarget
parameter of Enable and Disable.
-
GL_ANY_SAMPLES_PASSED_CONSERVATIVE
Accepted by thetarget
parameter of BeginQuery, EndQuery, GetQueryIndexediv and GetQueryiv.
-
GL_MAX_ELEMENT_INDEX
Accepted by thevalue
parameter of the GetInteger* functions.
-
GL_TEXTURE_IMMUTABLE_LEVELS
Accepted by thepname
parameters of GetTexParameterfv and GetTexParameteriv.
-
GL_COMPUTE_SHADER
Accepted by thetype
parameter of CreateShader and returned in theparams
parameter by GetShaderiv.
-
GL_MAX_COMPUTE_UNIFORM_BLOCKS, GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS, GL_MAX_COMPUTE_IMAGE_UNIFORMS, GL_MAX_COMPUTE_SHARED_MEMORY_SIZE, GL_MAX_COMPUTE_UNIFORM_COMPONENTS, GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS, GL_MAX_COMPUTE_ATOMIC_COUNTERS, GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS, GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS
Accepted by thepname
parameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.
-
GL_MAX_COMPUTE_WORK_GROUP_COUNT, GL_MAX_COMPUTE_WORK_GROUP_SIZE
Accepted by thepname
parameter of GetIntegeri_v, GetBooleani_v, GetFloati_v, GetDoublei_v and GetInteger64i_v.
-
GL_COMPUTE_WORK_GROUP_SIZE
Accepted by thepname
parameter of GetProgramiv.
-
GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER
Accepted by thepname
parameter of GetActiveUniformBlockiv.
-
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER
Accepted by thepname
parameter of GetActiveAtomicCounterBufferiv.
-
GL_DISPATCH_INDIRECT_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.
-
GL_DISPATCH_INDIRECT_BUFFER_BINDING
Accepted by thevalue
parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.
-
GL_COMPUTE_SHADER_BIT
Accepted by thestages
parameter of UseProgramStages.
-
GL_DEBUG_OUTPUT, GL_DEBUG_OUTPUT_SYNCHRONOUS
Tokens accepted by thetarget
parameters of Enable, Disable, and IsEnabled.
-
GL_CONTEXT_FLAG_DEBUG_BIT
Returned by GetIntegerv whenpname
is CONTEXT_FLAGS.
-
GL_MAX_DEBUG_MESSAGE_LENGTH, GL_MAX_DEBUG_LOGGED_MESSAGES, GL_DEBUG_LOGGED_MESSAGES, GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH, GL_MAX_DEBUG_GROUP_STACK_DEPTH, GL_DEBUG_GROUP_STACK_DEPTH, GL_MAX_LABEL_LENGTH
Tokens accepted by thevalue
parameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.
-
GL_DEBUG_CALLBACK_FUNCTION, GL_DEBUG_CALLBACK_USER_PARAM
Tokens accepted by thepname
parameter of GetPointerv.
-
GL_DEBUG_SOURCE_API, GL_DEBUG_SOURCE_WINDOW_SYSTEM, GL_DEBUG_SOURCE_SHADER_COMPILER, GL_DEBUG_SOURCE_THIRD_PARTY, GL_DEBUG_SOURCE_APPLICATION, GL_DEBUG_SOURCE_OTHER
Tokens accepted or provided by thesource
parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thesources
parameter of GetDebugMessageLog.
-
GL_DEBUG_TYPE_ERROR, GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR, GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR, GL_DEBUG_TYPE_PORTABILITY, GL_DEBUG_TYPE_PERFORMANCE, GL_DEBUG_TYPE_OTHER, GL_DEBUG_TYPE_MARKER
Tokens accepted or provided by thetype
parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thetypes
parameter of GetDebugMessageLog.
-
GL_DEBUG_TYPE_PUSH_GROUP, GL_DEBUG_TYPE_POP_GROUP
Tokens accepted or provided by thetype
parameters of DebugMessageControl and DEBUGPROC, and thetypes
parameter of GetDebugMessageLog.
-
GL_DEBUG_SEVERITY_HIGH, GL_DEBUG_SEVERITY_MEDIUM, GL_DEBUG_SEVERITY_LOW, GL_DEBUG_SEVERITY_NOTIFICATION
Tokens accepted or provided by theseverity
parameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and theseverities
parameter of GetDebugMessageLog.
-
GL_BUFFER, GL_SHADER, GL_PROGRAM, GL_QUERY, GL_PROGRAM_PIPELINE, GL_SAMPLER, GL_DISPLAY_LIST
Tokens accepted or provided by theidentifier
parameters of ObjectLabel and GetObjectLabel.
-
GL_MAX_UNIFORM_LOCATIONS
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
-
GL_FRAMEBUFFER_DEFAULT_WIDTH, GL_FRAMEBUFFER_DEFAULT_HEIGHT, GL_FRAMEBUFFER_DEFAULT_LAYERS, GL_FRAMEBUFFER_DEFAULT_SAMPLES, GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
Accepted by thepname
parameter of FramebufferParameteri, GetFramebufferParameteriv, NamedFramebufferParameteriEXT, and GetNamedFramebufferParameterivEXT.
-
GL_MAX_FRAMEBUFFER_WIDTH, GL_MAX_FRAMEBUFFER_HEIGHT, GL_MAX_FRAMEBUFFER_LAYERS, GL_MAX_FRAMEBUFFER_SAMPLES
Accepted by thepname
parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.
-
GL_INTERNALFORMAT_SUPPORTED, GL_INTERNALFORMAT_PREFERRED, GL_INTERNALFORMAT_RED_SIZE, GL_INTERNALFORMAT_GREEN_SIZE, GL_INTERNALFORMAT_BLUE_SIZE, GL_INTERNALFORMAT_ALPHA_SIZE, GL_INTERNALFORMAT_DEPTH_SIZE, GL_INTERNALFORMAT_STENCIL_SIZE, GL_INTERNALFORMAT_SHARED_SIZE, GL_INTERNALFORMAT_RED_TYPE, GL_INTERNALFORMAT_GREEN_TYPE, GL_INTERNALFORMAT_BLUE_TYPE, GL_INTERNALFORMAT_ALPHA_TYPE, GL_INTERNALFORMAT_DEPTH_TYPE, GL_INTERNALFORMAT_STENCIL_TYPE, GL_MAX_WIDTH, GL_MAX_HEIGHT, GL_MAX_DEPTH, GL_MAX_LAYERS, GL_MAX_COMBINED_DIMENSIONS, GL_COLOR_COMPONENTS, GL_DEPTH_COMPONENTS, GL_STENCIL_COMPONENTS, GL_COLOR_RENDERABLE, GL_DEPTH_RENDERABLE, GL_STENCIL_RENDERABLE, GL_FRAMEBUFFER_RENDERABLE, GL_FRAMEBUFFER_RENDERABLE_LAYERED, GL_FRAMEBUFFER_BLEND, GL_READ_PIXELS, GL_READ_PIXELS_FORMAT, GL_READ_PIXELS_TYPE, GL_TEXTURE_IMAGE_FORMAT, GL_TEXTURE_IMAGE_TYPE, GL_GET_TEXTURE_IMAGE_FORMAT, GL_GET_TEXTURE_IMAGE_TYPE, GL_MIPMAP, GL_MANUAL_GENERATE_MIPMAP, GL_AUTO_GENERATE_MIPMAP, GL_COLOR_ENCODING, GL_SRGB_READ, GL_SRGB_WRITE, GL_FILTER, GL_VERTEX_TEXTURE, GL_TESS_CONTROL_TEXTURE, GL_TESS_EVALUATION_TEXTURE, GL_GEOMETRY_TEXTURE, GL_FRAGMENT_TEXTURE, GL_COMPUTE_TEXTURE, GL_TEXTURE_SHADOW, GL_TEXTURE_GATHER, GL_TEXTURE_GATHER_SHADOW, GL_SHADER_IMAGE_LOAD, GL_SHADER_IMAGE_STORE, GL_SHADER_IMAGE_ATOMIC, GL_IMAGE_TEXEL_SIZE, GL_IMAGE_COMPATIBILITY_CLASS, GL_IMAGE_PIXEL_FORMAT, GL_IMAGE_PIXEL_TYPE, GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST, GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST, GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE, GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE, GL_TEXTURE_COMPRESSED_BLOCK_WIDTH, GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT, GL_TEXTURE_COMPRESSED_BLOCK_SIZE, GL_CLEAR_BUFFER, GL_TEXTURE_VIEW, GL_VIEW_COMPATIBILITY_CLASS
Accepted by thepname
parameter of GetInternalformativ and GetInternalformati64v.
-
GL_FULL_SUPPORT, GL_CAVEAT_SUPPORT, GL_IMAGE_CLASS_4_X_32, GL_IMAGE_CLASS_2_X_32, GL_IMAGE_CLASS_1_X_32, GL_IMAGE_CLASS_4_X_16, GL_IMAGE_CLASS_2_X_16, GL_IMAGE_CLASS_1_X_16, GL_IMAGE_CLASS_4_X_8, GL_IMAGE_CLASS_2_X_8, GL_IMAGE_CLASS_1_X_8, GL_IMAGE_CLASS_11_11_10, GL_IMAGE_CLASS_10_10_10_2, GL_VIEW_CLASS_128_BITS, GL_VIEW_CLASS_96_BITS, GL_VIEW_CLASS_64_BITS, GL_VIEW_CLASS_48_BITS, GL_VIEW_CLASS_32_BITS, GL_VIEW_CLASS_24_BITS, GL_VIEW_CLASS_16_BITS, GL_VIEW_CLASS_8_BITS, GL_VIEW_CLASS_S3TC_DXT1_RGB, GL_VIEW_CLASS_S3TC_DXT1_RGBA, GL_VIEW_CLASS_S3TC_DXT3_RGBA, GL_VIEW_CLASS_S3TC_DXT5_RGBA, GL_VIEW_CLASS_RGTC1_RED, GL_VIEW_CLASS_RGTC2_RG, GL_VIEW_CLASS_BPTC_UNORM, GL_VIEW_CLASS_BPTC_FLOAT
Returned as possible responses for variouspname
queries to GetInternalformativ and GetInternalformati64v.
-
GL_UNIFORM, GL_UNIFORM_BLOCK, GL_PROGRAM_INPUT, GL_PROGRAM_OUTPUT, GL_BUFFER_VARIABLE, GL_SHADER_STORAGE_BLOCK, GL_VERTEX_SUBROUTINE, GL_TESS_CONTROL_SUBROUTINE, GL_TESS_EVALUATION_SUBROUTINE, GL_GEOMETRY_SUBROUTINE, GL_FRAGMENT_SUBROUTINE, GL_COMPUTE_SUBROUTINE, GL_VERTEX_SUBROUTINE_UNIFORM, GL_TESS_CONTROL_SUBROUTINE_UNIFORM, GL_TESS_EVALUATION_SUBROUTINE_UNIFORM, GL_GEOMETRY_SUBROUTINE_UNIFORM, GL_FRAGMENT_SUBROUTINE_UNIFORM, GL_COMPUTE_SUBROUTINE_UNIFORM, GL_TRANSFORM_FEEDBACK_VARYING
Accepted by theprogramInterface
parameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.
-
GL_ACTIVE_RESOURCES, GL_MAX_NAME_LENGTH, GL_MAX_NUM_ACTIVE_VARIABLES, GL_MAX_NUM_COMPATIBLE_SUBROUTINES
Accepted by thepname
parameter of GetProgramInterfaceiv.
-
GL_NAME_LENGTH, GL_TYPE, GL_ARRAY_SIZE, GL_OFFSET, GL_BLOCK_INDEX, GL_ARRAY_STRIDE, GL_MATRIX_STRIDE, GL_IS_ROW_MAJOR, GL_ATOMIC_COUNTER_BUFFER_INDEX, GL_BUFFER_BINDING, GL_BUFFER_DATA_SIZE, GL_NUM_ACTIVE_VARIABLES, GL_ACTIVE_VARIABLES, GL_REFERENCED_BY_VERTEX_SHADER, GL_REFERENCED_BY_TESS_CONTROL_SHADER, GL_REFERENCED_BY_TESS_EVALUATION_SHADER, GL_REFERENCED_BY_GEOMETRY_SHADER, GL_REFERENCED_BY_FRAGMENT_SHADER, GL_REFERENCED_BY_COMPUTE_SHADER, GL_TOP_LEVEL_ARRAY_SIZE, GL_TOP_LEVEL_ARRAY_STRIDE, GL_LOCATION, GL_LOCATION_INDEX, GL_IS_PER_PATCH
Accepted in theprops
array of GetProgramResourceiv.
-
GL_SHADER_STORAGE_BUFFER
Accepted by thetarget
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.
-
GL_SHADER_STORAGE_BUFFER_BINDING
Accepted by thepname
parameter of GetIntegerv, GetIntegeri_v, GetBooleanv, GetInteger64v, GetFloatv, GetDoublev, GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, and GetInteger64i_v.
-
GL_SHADER_STORAGE_BUFFER_START, GL_SHADER_STORAGE_BUFFER_SIZE
Accepted by thepname
parameter of GetIntegeri_v, GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, and GetInteger64i_v.
-
GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS, GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS, GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS, GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS, GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS, GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS, GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS, GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS, GL_MAX_SHADER_STORAGE_BLOCK_SIZE, GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT
Accepted by thepname
parameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.
-
GL_SHADER_STORAGE_BARRIER_BIT
Accepted in thebarriers
bitfield in glMemoryBarrier.
-
GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES
Alias for the existing token MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS.
-
GL_DEPTH_STENCIL_TEXTURE_MODE
Accepted by thepname
parameter of TexParameter* and GetTexParameter*.
-
GL_TEXTURE_BUFFER_OFFSET, GL_TEXTURE_BUFFER_SIZE
Accepted by thepname
parameter of GetTexLevelParameter.
-
GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_NUM_LAYERS
Accepted by thepname
parameters of GetTexParameterfv and GetTexParameteriv.
-
GL_VERTEX_ATTRIB_BINDING, GL_VERTEX_ATTRIB_RELATIVE_OFFSET
Accepted by thepname
parameter of GetVertexAttrib*v.
-
GL_VERTEX_BINDING_DIVISOR, GL_VERTEX_BINDING_OFFSET, GL_VERTEX_BINDING_STRIDE, GL_VERTEX_BINDING_BUFFER
Accepted by thetarget
parameter of GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, and GetInteger64i_v.
-
GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET, GL_MAX_VERTEX_ATTRIB_BINDINGS
Accepted by thepname
parameter of GetIntegerv, ....
-
-
Method Detail
-
glClearBufferData
public static void glClearBufferData(int target, int internalformat, int format, int type, java.nio.ByteBuffer data) public static void glClearBufferData(int target, int internalformat, int format, int type, java.nio.ShortBuffer data) public static void glClearBufferData(int target, int internalformat, int format, int type, java.nio.IntBuffer data) public static void glClearBufferData(int target, int internalformat, int format, int type, java.nio.FloatBuffer data)
Fills a buffer object's data store with a fixed value.- Parameters:
target
- the target of the operation. One of:internalformat
- the internal format with which the data will be stored in the buffer objectformat
- the format of the data in memory addressed bydata
. One of:type
- the type of the data in memory addressed bydata
. One of:data
- the buffer containing the data to be used as the source of the constant fill value. The elements of data are converted by the GL into the format specified by internalformat, and then used to fill the specified range of the destination buffer. If data isNULL
, then it is ignored and the sub-range of the buffer is filled with zeros.
-
glClearBufferSubData
public static void glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.ByteBuffer data) public static void glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.ShortBuffer data) public static void glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.IntBuffer data) public static void glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.FloatBuffer data)
Fills all or part of buffer object's data store with a fixed value.- Parameters:
target
- the target of the operation. One of:internalformat
- the internal format with which the data will be stored in the buffer objectoffset
- the offset, in basic machine units into the buffer object's data store at which to start fillingsize
- the size, in basic machine units of the range of the data store to fillformat
- the format of the data in memory addressed bydata
. One of:type
- the type of the data in memory addressed bydata
. One of:data
- the buffer containing the data to be used as the source of the constant fill value. The elements of data are converted by the GL into the format specified by internalformat, and then used to fill the specified range of the destination buffer. If data isNULL
, then it is ignored and the sub-range of the buffer is filled with zeros.
-
glDispatchCompute
public static void glDispatchCompute(int num_groups_x, int num_groups_y, int num_groups_z)
Launches one or more compute work groups.- Parameters:
num_groups_x
- the number of work groups to be launched in the X dimensionnum_groups_y
- the number of work groups to be launched in the Y dimensionnum_groups_z
- the number of work groups to be launched in the Z dimension
-
glDispatchComputeIndirect
public static void glDispatchComputeIndirect(long indirect)
Launches one or more compute work groups using parameters stored in a buffer.The parameters addressed by indirect are packed a structure, which takes the form (in C):
typedef struct { uint num_groups_x; uint num_groups_y; uint num_groups_z; } DispatchIndirectCommand;
A call to
glDispatchComputeIndirect
is equivalent, assuming no errors are generated, to:cmd = (const DispatchIndirectCommand *)indirect; glDispatchCompute(cmd->num_groups_x, cmd->num_groups_y, cmd->num_groups_z);
- Parameters:
indirect
- the offset into the buffer object currently bound to theDISPATCH_INDIRECT_BUFFER
buffer target at which the dispatch parameters are stored.
-
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)
Performs a raw data copy between two images.- Parameters:
srcName
- the name of a texture or renderbuffer object from which to copysrcTarget
- the target representing the namespace of the source namesrcName
srcLevel
- the mipmap level to read from the sourcesrcX
- the X coordinate of the left edge of the souce region to copysrcY
- the Y coordinate of the top edge of the souce region to copysrcZ
- the Z coordinate of the near edge of the souce region to copydstName
- the name of a texture or renderbuffer object to which to copydstTarget
- the target representing the namespace of the destination namedstName
dstLevel
- the mipmap level to write to the sourcedstX
- the X coordinate of the left edge of the destination regiondstY
- the Y coordinate of the top edge of the destination regiondstZ
- the Z coordinate of the near edge of the destination regionsrcWidth
- the width of the region to be copiedsrcHeight
- the height of the region to be copiedsrcDepth
- the depth of the region to be copied
-
glDebugMessageControl
public static void glDebugMessageControl(int source, int type, int severity, java.nio.IntBuffer ids, boolean enabled)
Controls the volume of debug output in the active debug group, by disabling specific or groups of messages.If
enabled
isTRUE
, the referenced subset of messages will be enabled. IfFALSE
, 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
, orseverity
isDONT_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 specifiedsource
,type
, orseverity
respectively will be referenced. - If
count
is greater than zero, thenids
is an array ofcount
message IDs for the specified combination ofsource
andtype
. In this case, ifsource
ortype
isDONT_CARE
, orseverity
is notDONT_CARE
, the errorINVALID_OPERATION
is generated.
Unrecognized message IDs in
ids
are ignored. Ifcount
is zero, the value ifids
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 everysource
,type
orseverity
are disabled.- Parameters:
source
- the source of debug messages to enable or disable. One of:DEBUG_SOURCE_API
DEBUG_SOURCE_WINDOW_SYSTEM
DEBUG_SOURCE_SHADER_COMPILER
DEBUG_SOURCE_THIRD_PARTY
DEBUG_SOURCE_APPLICATION
DEBUG_SOURCE_OTHER
type
- the type of debug messages to enable or disable. One of:DEBUG_TYPE_ERROR
DEBUG_TYPE_DEPRECATED_BEHAVIOR
DEBUG_TYPE_UNDEFINED_BEHAVIOR
DEBUG_TYPE_PORTABILITY
DEBUG_TYPE_PERFORMANCE
DEBUG_TYPE_OTHER
DEBUG_TYPE_MARKER
severity
- the severity of debug messages to enable or disable. One of:DEBUG_SEVERITY_HIGH
DEBUG_SEVERITY_MEDIUM
DEBUG_SEVERITY_LOW
DEBUG_SEVERITY_NOTIFICATION
ids
- an array of unsigned integers containing the ids of the messages to enable or disableenabled
- whether the selected messages should be enabled or disabled
- If
-
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
isTRUE
, the referenced subset of messages will be enabled. IfFALSE
, 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
, orseverity
isDONT_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 specifiedsource
,type
, orseverity
respectively will be referenced. - If
count
is greater than zero, thenids
is an array ofcount
message IDs for the specified combination ofsource
andtype
. In this case, ifsource
ortype
isDONT_CARE
, orseverity
is notDONT_CARE
, the errorINVALID_OPERATION
is generated.
Unrecognized message IDs in
ids
are ignored. Ifcount
is zero, the value ifids
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 everysource
,type
orseverity
are disabled.- Parameters:
source
- the source of debug messages to enable or disable. One of:DEBUG_SOURCE_API
DEBUG_SOURCE_WINDOW_SYSTEM
DEBUG_SOURCE_SHADER_COMPILER
DEBUG_SOURCE_THIRD_PARTY
DEBUG_SOURCE_APPLICATION
DEBUG_SOURCE_OTHER
type
- the type of debug messages to enable or disable. One of:DEBUG_TYPE_ERROR
DEBUG_TYPE_DEPRECATED_BEHAVIOR
DEBUG_TYPE_UNDEFINED_BEHAVIOR
DEBUG_TYPE_PORTABILITY
DEBUG_TYPE_PERFORMANCE
DEBUG_TYPE_OTHER
DEBUG_TYPE_MARKER
severity
- the severity of debug messages to enable or disable. One of:DEBUG_SEVERITY_HIGH
DEBUG_SEVERITY_MEDIUM
DEBUG_SEVERITY_LOW
DEBUG_SEVERITY_NOTIFICATION
enabled
- whether the selected messages should be enabled or disabled
- If
-
glDebugMessageInsert
public static void glDebugMessageInsert(int source, int type, int id, int severity, java.nio.ByteBuffer message) public static void glDebugMessageInsert(int source, int type, int id, int severity, java.lang.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 andseverity
indicates its severity level as defined by the caller. The stringbuf
contains the string representation of the message. The parameterlength
contains the number of characters inbuf
. Iflength
is negative, it is implied thatbuf
contains a null terminated string. The errorINVALID_VALUE
will be generated if the number of characters inbuf
, excluding the null terminator whenlength
is negative, is not less than the value ofMAX_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_API
DEBUG_SOURCE_WINDOW_SYSTEM
DEBUG_SOURCE_SHADER_COMPILER
DEBUG_SOURCE_THIRD_PARTY
DEBUG_SOURCE_APPLICATION
DEBUG_SOURCE_OTHER
type
- the type of the debug message insert. One of:DEBUG_TYPE_ERROR
DEBUG_TYPE_DEPRECATED_BEHAVIOR
DEBUG_TYPE_UNDEFINED_BEHAVIOR
DEBUG_TYPE_PORTABILITY
DEBUG_TYPE_PERFORMANCE
DEBUG_TYPE_OTHER
DEBUG_TYPE_MARKER
id
- the user-supplied identifier of the message to insert. One of:DEBUG_SEVERITY_HIGH
DEBUG_SEVERITY_MEDIUM
DEBUG_SEVERITY_LOW
DEBUG_SEVERITY_NOTIFICATION
severity
- the severity of the debug messages to insertmessage
- a character array containing the message to insert
-
glDebugMessageCallback
public static void glDebugMessageCallback(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 ofcallback
clears the current callback and disables message output through callbacks. Applications can provide user-specified data through the pointeruserParam
. 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
, andseverity
, respectively. The string representation of the message is stored inmessage
and its length (excluding the null-terminator) is stored inlength
. The parameteruserParam
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
andDEBUG_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 generateduserParam
- a user supplied pointer that will be passed on each invocation ofcallback
-
glGetDebugMessageLog
public static int glGetDebugMessageLog(int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.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
, andlengths
, respectively. The application is responsible for allocating enough space for each array to hold up tocount
elements. The string representations of all fetched messages are stored in themessageLog
array. If multiple messages are fetched, their strings are concatenated into the samemessageLog
array and will be separated by single null terminators. The last string in the array will also be null-terminated. The maximum size ofmessageLog
, including the space used by all null terminators, is given bybufSize
. IfbufSize
is less than zero andmessageLog
is notNULL
, anINVALID_VALUE
error will be generated. If a message's string, including its null terminator, can not fully fit within themessageLog
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 arraylengths
include the space for the null terminator of each string.Any or all of the arrays
sources
,types
,ids
,severities
,lengths
andmessageLog
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 tocount
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
in theCONTEXT_FLAGS
state, 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 logsources
- an array of variables to receive the sources of the retrieved messagestypes
- an array of variables to receive the types of the retrieved messagesids
- an array of unsigned integers to receive the ids of the retrieved messagesseverities
- an array of variables to receive the severites of the retrieved messageslengths
- an array of variables to receive the lengths of the received messagesmessageLog
- an array of characters that will receive the messages
-
glPushDebugGroup
public static void glPushDebugGroup(int source, int id, java.nio.ByteBuffer message) public static void glPushDebugGroup(int source, int id, java.lang.CharSequence message)
Pushes a debug group described by the stringmessage
into the command stream. The value ofid
specifies the ID of messages generated. The parameterlength
contains the number of characters inmessage
. Iflength
is negative, it is implied thatmessage
contains a null terminated string. The message has the specifiedsource
andid
,type
DEBUG_TYPE_PUSH_GROUP
, andseverity
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 ofsource
is neitherDEBUG_SOURCE_APPLICATION
norDEBUG_SOURCE_THIRD_PARTY
. AnINVALID_VALUE
error is generated iflength
is negative and the number of characters inmessage
, excluding the null-terminator, is not less than the value ofMAX_DEBUG_MESSAGE_LENGTH
.- Parameters:
source
- the source of the debug message. One of:DEBUG_SOURCE_APPLICATION
DEBUG_SOURCE_THIRD_PARTY
id
- the identifier of the messagemessage
- a string containing the message to be sent to the debug output stream
-
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 themessage
string, the sourcesource
, and an IDid
submitted to the associatedPushDebugGroup
command.DEBUG_TYPE_PUSH_GROUP
andDEBUG_TYPE_POP_GROUP
share a single namespace for messageid
.severity
has the valueDEBUG_SEVERITY_NOTIFICATION
. Thetype
has the valueDEBUG_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 containingMAX_DEBUG_GROUP_STACK_DEPTH
minus one elements will generate aSTACK_OVERFLOW
error.
-
glObjectLabel
public static void glObjectLabel(int identifier, int name, java.nio.ByteBuffer label) public static void glObjectLabel(int identifier, int name, java.lang.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:BUFFER
SHADER
PROGRAM
QUERY
PROGRAM_PIPELINE
SAMPLER
DISPLAY_LIST
VERTEX_ARRAY
TEXTURE
RENDERBUFFER
FRAMEBUFFER
TRANSFORM_FEEDBACK
name
- the name of the object to labellabel
- a string containing the label to assign to the object
-
glGetObjectLabel
public static void glGetObjectLabel(int identifier, int name, java.nio.IntBuffer length, java.nio.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:BUFFER
SHADER
PROGRAM
QUERY
PROGRAM_PIPELINE
SAMPLER
DISPLAY_LIST
VERTEX_ARRAY
TEXTURE
RENDERBUFFER
FRAMEBUFFER
TRANSFORM_FEEDBACK
name
- the name of the object whose label to retrievelength
- the address of a variable to receive the length of the object labellabel
- a string that will receive the object label
-
glGetObjectLabel
public static java.lang.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:BUFFER
SHADER
PROGRAM
QUERY
PROGRAM_PIPELINE
SAMPLER
DISPLAY_LIST
VERTEX_ARRAY
TEXTURE
RENDERBUFFER
FRAMEBUFFER
TRANSFORM_FEEDBACK
name
- the name of the object whose label to retrievebufSize
- the length of the buffer whose address is inlabel
-
glGetObjectLabel
public static java.lang.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:BUFFER
SHADER
PROGRAM
QUERY
PROGRAM_PIPELINE
SAMPLER
DISPLAY_LIST
VERTEX_ARRAY
TEXTURE
RENDERBUFFER
FRAMEBUFFER
TRANSFORM_FEEDBACK
name
- the name of the object whose label to retrieve
-
glObjectPtrLabel
public static void glObjectPtrLabel(long ptr, java.nio.ByteBuffer label) public static void glObjectPtrLabel(long ptr, java.lang.CharSequence label)
Labels a sync object identified by a pointer.- Parameters:
ptr
- a pointer identifying a sync objectlabel
- a string containing the label to assign to the object
-
glGetObjectPtrLabel
public static void glGetObjectPtrLabel(long ptr, java.nio.IntBuffer length, java.nio.ByteBuffer label)
Retrieves the label of a sync object identified by a pointer.- Parameters:
ptr
- the name of the sync object whose label to retrievelength
- a variable to receive the length of the object labellabel
- a string that will receive the object label
-
glGetObjectPtrLabel
public static java.lang.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 retrievebufSize
- the length of the buffer whose address is inlabel
-
glGetObjectPtrLabel
public static java.lang.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
-
glFramebufferParameteri
public static void glFramebufferParameteri(int target, int pname, int param)
Sets a named parameter of a framebuffer.- Parameters:
target
- target of the operation. One of:READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
FRAMEBUFFER
pname
- a token indicating the parameter to be modified. One of:FRAMEBUFFER_DEFAULT_WIDTH
FRAMEBUFFER_DEFAULT_HEIGHT
FRAMEBUFFER_DEFAULT_LAYERS
FRAMEBUFFER_DEFAULT_SAMPLES
FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
param
- the new value for the parameter namedpname
-
glGetFramebufferParameteriv
public static void glGetFramebufferParameteriv(int target, int pname, java.nio.IntBuffer params)
Retrieves a named parameter from a framebuffer.- Parameters:
target
- target of the operation. One of:READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
FRAMEBUFFER
pname
- a token indicating the parameter to be retrieved. One of:FRAMEBUFFER_DEFAULT_WIDTH
FRAMEBUFFER_DEFAULT_HEIGHT
FRAMEBUFFER_DEFAULT_LAYERS
FRAMEBUFFER_DEFAULT_SAMPLES
FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
params
- a variable to receive the value of the parameter namedpname
-
glGetFramebufferParameteri
public static int glGetFramebufferParameteri(int target, int pname)
Retrieves a named parameter from a framebuffer.- Parameters:
target
- target of the operation. One of:READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
FRAMEBUFFER
pname
- a token indicating the parameter to be retrieved. One of:FRAMEBUFFER_DEFAULT_WIDTH
FRAMEBUFFER_DEFAULT_HEIGHT
FRAMEBUFFER_DEFAULT_LAYERS
FRAMEBUFFER_DEFAULT_SAMPLES
FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
-
glGetInternalformati64v
public static void glGetInternalformati64v(int target, int internalformat, int pname, java.nio.LongBuffer params)
Retrieves information about implementation-dependent support for internal formats.- Parameters:
target
- the usage of the internal format. One of:TEXTURE_1D
TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
RENDERBUFFER
TEXTURE_BUFFER
TEXTURE_2D_MULTISAMPLE
TEXTURE_2D_MULTISAMPLE_ARRAY
internalformat
- the internal format about which to retrieve informationpname
- the type of information to queryparams
- a variable into which to write the retrieved information
-
glGetInternalformati64
public static long glGetInternalformati64(int target, int internalformat, int pname)
Retrieves information about implementation-dependent support for internal formats.- Parameters:
target
- the usage of the internal format. One of:TEXTURE_1D
TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
RENDERBUFFER
TEXTURE_BUFFER
TEXTURE_2D_MULTISAMPLE
TEXTURE_2D_MULTISAMPLE_ARRAY
internalformat
- the internal format about which to retrieve informationpname
- the type of information to query
-
glInvalidateTexSubImage
public static void glInvalidateTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth)
Invalidates a region of a texture image.- Parameters:
texture
- the name of a texture object a subregion of which to invalidatelevel
- the level of detail of the texture object within which the region residesxoffset
- the X offset of the region to be invalidatedyoffset
- the Y offset of the region to be invalidatedzoffset
- the Z offset of the region to be invalidatedwidth
- the width of the region to be invalidatedheight
- the height of the region to be invalidateddepth
- the depth of the region to be invalidated
-
glInvalidateTexImage
public static void glInvalidateTexImage(int texture, int level)
Invalidates the entirety of a texture image.- Parameters:
texture
- the name of a texture object to invalidatelevel
- the level of detail of the texture object to invalidate
-
glInvalidateBufferSubData
public static void glInvalidateBufferSubData(int buffer, long offset, long length)
Invalidates a region of a buffer object's data store.- Parameters:
buffer
- the name of a buffer object, a subrange of whose data store to invalidateoffset
- the offset within the buffer's data store of the start of the range to be invalidatedlength
- the length of the range within the buffer's data store to be invalidated
-
glInvalidateBufferData
public static void glInvalidateBufferData(int buffer)
Invalidates the content of a buffer object's data store.- Parameters:
buffer
- the name of a buffer object whose data store to invalidate
-
glInvalidateFramebuffer
public static void glInvalidateFramebuffer(int target, java.nio.IntBuffer attachments)
Invalidate the content some or all of a framebuffer object's attachments.- Parameters:
target
- the target to which the framebuffer is attached. One of:FRAMEBUFFER
DRAW_FRAMEBUFFER
READ_FRAMEBUFFER
attachments
- the address of an array identifying the attachments to be invalidated
-
glInvalidateFramebuffer
public static void glInvalidateFramebuffer(int target, int attachment)
Invalidate the content some or all of a framebuffer object's attachments.- Parameters:
target
- the target to which the framebuffer is attached. One of:FRAMEBUFFER
DRAW_FRAMEBUFFER
READ_FRAMEBUFFER
-
glInvalidateSubFramebuffer
public static void glInvalidateSubFramebuffer(int target, java.nio.IntBuffer attachments, int x, int y, int width, int height)
Invalidates the content of a region of some or all of a framebuffer object's attachments.- Parameters:
target
- the target to which the framebuffer is attached. One of:FRAMEBUFFER
DRAW_FRAMEBUFFER
READ_FRAMEBUFFER
attachments
- an array identifying the attachments to be invalidatedx
- the X offset of the region to be invalidatedy
- the Y offset of the region to be invalidatedwidth
- the width of the region to be invalidatedheight
- the height of the region to be invalidated
-
glInvalidateSubFramebuffer
public static void glInvalidateSubFramebuffer(int target, int attachment, int x, int y, int width, int height)
Invalidates the content of a region of some or all of a framebuffer object's attachments.- Parameters:
target
- the target to which the framebuffer is attached. One of:FRAMEBUFFER
DRAW_FRAMEBUFFER
READ_FRAMEBUFFER
x
- the X offset of the region to be invalidatedy
- the Y offset of the region to be invalidatedwidth
- the width of the region to be invalidatedheight
- the height of the region to be invalidated
-
glMultiDrawArraysIndirect
public static void glMultiDrawArraysIndirect(int mode, java.nio.ByteBuffer indirect, int primcount, int stride) public static void glMultiDrawArraysIndirect(int mode, long indirect, int primcount, int stride) public static void glMultiDrawArraysIndirect(int mode, java.nio.IntBuffer indirect, int primcount, int stride)
Renders multiple sets of primitives from array data, taking parameters from memory.The parameters addressed by
indirect
are packed into an array of structures, each element of which takes the form (in C):typedef struct { uint count; uint primCount; uint first; uint baseInstance; } DrawArraysIndirectCommand;
A single call to
glMultiDrawArraysIndirect
is equivalent, assuming no errors are generated to:const ubyte *ptr = (const ubyte *)indirect; for ( i = 0; i < primcount; i++ ) { DrawArraysIndirect(mode, (DrawArraysIndirectCommand*)ptr); if ( stride == 0 ) ptr += sizeof(DrawArraysIndirectCommand); else ptr += stride; }
- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
indirect
- an array of structures containing the draw parametersprimcount
- the number of elements in the array of draw parameter structuresstride
- the distance in basic machine units between elements of the draw parameter array
-
glMultiDrawElementsIndirect
public static void glMultiDrawElementsIndirect(int mode, int type, java.nio.ByteBuffer indirect, int primcount, int stride) public static void glMultiDrawElementsIndirect(int mode, int type, long indirect, int primcount, int stride) public static void glMultiDrawElementsIndirect(int mode, int type, java.nio.IntBuffer indirect, int primcount, int stride)
Renders multiple indexed primitives from array data, taking parameters from memory.The parameters addressed by indirect are packed into a structure that takes the form (in C):
typedef struct { uint count; uint primCount; uint firstIndex; uint baseVertex; uint baseInstance; } DrawElementsIndirectCommand;
A single call to
glMultiDrawElementsIndirect
is equivalent, assuming no errors are generated to:const ubyte *ptr = (const ubyte *)indirect; for ( i = 0; i < primcount; i++ ) { DrawElementsIndirect(mode, type, (DrawElementsIndirectCommand *)ptr); if ( stride == 0 ) ptr += sizeof(DrawElementsIndirectCommand); else ptr += stride; }
- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
type
- the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
indirect
- a structure containing an array of draw parametersprimcount
- the number of elements in the array addressed byindirect
stride
- the distance in basic machine units between elements of the draw parameter array
-
glGetProgramInterfaceiv
public static void glGetProgramInterfaceiv(int program, int programInterface, int pname, java.nio.IntBuffer params)
Queries a property of an interface in a program.- Parameters:
program
- the name of a program object whose interface to queryprogramInterface
- a token identifying the interface withinprogram
to query. One of:pname
- the name of the parameter withinprogramInterface
to query. One of:ACTIVE_RESOURCES
MAX_NAME_LENGTH
MAX_NUM_ACTIVE_VARIABLES
MAX_NUM_COMPATIBLE_SUBROUTINES
params
- a variable to retrieve the value ofpname
for the program interface
-
glGetProgramInterfacei
public static int glGetProgramInterfacei(int program, int programInterface, int pname)
Queries a property of an interface in a program.- Parameters:
program
- the name of a program object whose interface to queryprogramInterface
- a token identifying the interface withinprogram
to query. One of:pname
- the name of the parameter withinprogramInterface
to query. One of:ACTIVE_RESOURCES
MAX_NAME_LENGTH
MAX_NUM_ACTIVE_VARIABLES
MAX_NUM_COMPATIBLE_SUBROUTINES
-
glGetProgramResourceIndex
public static int glGetProgramResourceIndex(int program, int programInterface, java.nio.ByteBuffer name) public static int glGetProgramResourceIndex(int program, int programInterface, java.lang.CharSequence name)
Queries the index of a named resource within a program.- Parameters:
program
- the name of a program object whose resources to queryprogramInterface
- a token identifying the interface withinprogram
containing the resource named {Wcode name}. One of:name
- the name of the resource to query the index of
-
glGetProgramResourceName
public static void glGetProgramResourceName(int program, int programInterface, int index, java.nio.IntBuffer length, java.nio.ByteBuffer name)
Queries the name of an indexed resource within a program.- Parameters:
program
- the name of a program object whose resources to queryprogramInterface
- a token identifying the interface withinprogram
containing the indexed resource. One of:index
- the index of the resource withinprogramInterface
ofprogram
length
- a variable which will receive the length of the resource namename
- a character array into which will be written the name of the resource
-
glGetProgramResourceName
public static java.lang.String glGetProgramResourceName(int program, int programInterface, int index, int bufSize)
Queries the name of an indexed resource within a program.- Parameters:
program
- the name of a program object whose resources to queryprogramInterface
- a token identifying the interface withinprogram
containing the indexed resource. One of:index
- the index of the resource withinprogramInterface
ofprogram
bufSize
- the size of the character array whose address is given byname
-
glGetProgramResourceName
public static java.lang.String glGetProgramResourceName(int program, int programInterface, int index)
Queries the name of an indexed resource within a program.- Parameters:
program
- the name of a program object whose resources to queryprogramInterface
- a token identifying the interface withinprogram
containing the indexed resource. One of:index
- the index of the resource withinprogramInterface
ofprogram
-
glGetProgramResourceiv
public static void glGetProgramResourceiv(int program, int programInterface, int index, java.nio.IntBuffer props, java.nio.IntBuffer length, java.nio.IntBuffer params)
Retrieves values for multiple properties of a single active resource within a program object.- Parameters:
program
- the name of a program object whose resources to queryprogramInterface
- a token identifying the interface withinprogram
containing the resource namedname
. One of:index
- the active resource indexprops
- an array that will receive the active resource propertieslength
- a variable which will receive the number of values returnedparams
- an array that will receive the property values
-
glGetProgramResourceLocation
public static int glGetProgramResourceLocation(int program, int programInterface, java.nio.ByteBuffer name) public static int glGetProgramResourceLocation(int program, int programInterface, java.lang.CharSequence name)
Queries the location of a named resource within a program.- Parameters:
program
- the name of a program object whose resources to queryprogramInterface
- a token identifying the interface withinprogram
containing the resource namedname
name
- the name of the resource to query the location of
-
glGetProgramResourceLocationIndex
public static int glGetProgramResourceLocationIndex(int program, int programInterface, java.nio.ByteBuffer name) public static int glGetProgramResourceLocationIndex(int program, int programInterface, java.lang.CharSequence name)
Queries the fragment color index of a named variable within a program.- Parameters:
program
- the name of a program object whose resources to queryprogramInterface
- a token identifying the interface withinprogram
containing the resource namedname
. Must be:PROGRAM_OUTPUT
name
- the name of the resource to query the location of
-
glShaderStorageBlockBinding
public static void glShaderStorageBlockBinding(int program, int storageBlockIndex, int storageBlockBinding)
Changes an active shader storage block binding.- Parameters:
program
- the name of the program containing the block whose binding to changestorageBlockIndex
- the index storage block within the programstorageBlockBinding
- the index storage block binding to associate with the specified storage block
-
glTexBufferRange
public static void glTexBufferRange(int target, int internalformat, int buffer, long offset, long size)
Binds a range of a buffer's data store to a buffer texture.- Parameters:
target
- the target of the operation. Must be:TEXTURE_BUFFER
internalformat
- the internal format of the data in the store belonging tobuffer
buffer
- the name of the buffer object whose storage to attach to the active buffer textureoffset
- the offset of the start of the range of the buffer's data store to attachsize
- the size of the range of the buffer's data store to attach
-
glTexStorage2DMultisample
public static void glTexStorage2DMultisample(int target, int samples, int internalformat, int width, int height, boolean fixedsamplelocations)
Specifies storage for a two-dimensional multisample texture.- Parameters:
target
- the target of the operation. One of:TEXTURE_2D_MULTISAMPLE
PROXY_TEXTURE_2D_MULTISAMPLE
samples
- the number of samples in the textureinternalformat
- the sized internal format to be used to store texture image datawidth
- the width of the texture, in texelsheight
- the height of the texture, in texelsfixedsamplelocations
- whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not depend on the internal format or size of the image
-
glTexStorage3DMultisample
public static void glTexStorage3DMultisample(int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations)
Specifies storage for a two-dimensional multisample array texture.- Parameters:
target
- the target of the operation. One of:TEXTURE_2D_MULTISAMPLE_ARRAY
PROXY_TEXTURE_2D_MULTISAMPLE
samples
- the number of samples in the textureinternalformat
- the sized internal format to be used to store texture image datawidth
- the width of the texture, in texelsheight
- the height of the texture, in texelsdepth
- the depth of the texture, in texelsfixedsamplelocations
- whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not depend on the internal format or size of the image
-
glTextureView
public static void glTextureView(int texture, int target, int origtexture, int internalformat, int minlevel, int numlevels, int minlayer, int numlayers)
Initializes a texture as a data alias of another texture's data store.- Parameters:
texture
- the texture object to be initialized as a viewtarget
- the target to be used for the newly initialized textureorigtexture
- the name of a texture object of which to make a viewinternalformat
- the internal format for the newly created viewminlevel
- the lowest level of detail of the viewnumlevels
- the number of levels of detail to include in the viewminlayer
- the index of the first layer to include in the viewnumlayers
- the number of layers to include in the view
-
glBindVertexBuffer
public static void glBindVertexBuffer(int bindingindex, int buffer, long offset, int stride)
Binds a buffer to a vertex buffer bind point.- Parameters:
bindingindex
- the index of the vertex buffer binding point to which to bind the bufferbuffer
- the name of an existing buffer to bind to the vertex buffer binding pointoffset
- the offset of the first element of the bufferstride
- the distance between elements within the buffer
-
glVertexAttribFormat
public static void glVertexAttribFormat(int attribindex, int size, int type, boolean normalized, int relativeoffset)
Specifies the organization of data in vertex arrays.- Parameters:
attribindex
- the generic vertex attribute array being describedsize
- the number of values per vertex that are stored in the array. One of:1 2 3 4 BGRA
type
- the type of the data stored in the arraynormalized
- if true then integer data is normalized to the range [-1, 1] or [0, 1] if it is signed or unsigned, respectively. If false then integer data is directly converted to floating point.relativeoffset
- the offset, measured in basic machine units of the first element relative to the start of the vertex buffer binding this attribute fetches from
-
glVertexAttribIFormat
public static void glVertexAttribIFormat(int attribindex, int size, int type, int relativeoffset)
Specifies the organization of pure integer data in vertex arrays.- Parameters:
attribindex
- the generic vertex attribute array being describedsize
- the number of values per vertex that are stored in the array. One of:1 2 3 4 BGRA
type
- the type of the data stored in the arrayrelativeoffset
- the offset, measured in basic machine units of the first element relative to the start of the vertex buffer binding this attribute fetches from
-
glVertexAttribLFormat
public static void glVertexAttribLFormat(int attribindex, int size, int type, int relativeoffset)
Specifies the organization of 64-bit double data in vertex arrays.- Parameters:
attribindex
- the generic vertex attribute array being describedsize
- the number of values per vertex that are stored in the array. One of:1 2 3 4 BGRA
type
- the type of the data stored in the arrayrelativeoffset
- the offset, measured in basic machine units of the first element relative to the start of the vertex buffer binding this attribute fetches from
-
glVertexAttribBinding
public static void glVertexAttribBinding(int attribindex, int bindingindex)
Associate a vertex attribute and a vertex buffer binding.- Parameters:
attribindex
- the index of the attribute to associate with a vertex buffer bindingbindingindex
- the index of the vertex buffer binding with which to associate the generic vertex attribute
-
glVertexBindingDivisor
public static void glVertexBindingDivisor(int bindingindex, int divisor)
Modifies the rate at which generic vertex attributes advance during instanced rendering.- Parameters:
bindingindex
- the index of the generic vertex attributedivisor
- the number of instances that will pass between updates of the generic attribute at slotindex
-
glClearBufferData
public static void glClearBufferData(int target, int internalformat, int format, int type, short[] data) public static void glClearBufferData(int target, int internalformat, int format, int type, int[] data) public static void glClearBufferData(int target, int internalformat, int format, int type, float[] data)
Array version of:ClearBufferData
-
glClearBufferSubData
public static void glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, short[] data) public static void glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, int[] data) public static void glClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, float[] data)
Array version of:ClearBufferSubData
-
glDebugMessageControl
public static void glDebugMessageControl(int source, int type, int severity, int[] ids, boolean enabled)
Array version of:DebugMessageControl
-
glGetDebugMessageLog
public static int glGetDebugMessageLog(int count, int[] sources, int[] types, int[] ids, int[] severities, int[] lengths, java.nio.ByteBuffer messageLog)
Array version of:GetDebugMessageLog
-
glGetObjectLabel
public static void glGetObjectLabel(int identifier, int name, int[] length, java.nio.ByteBuffer label)
Array version of:GetObjectLabel
-
glGetObjectPtrLabel
public static void glGetObjectPtrLabel(long ptr, int[] length, java.nio.ByteBuffer label)
Array version of:GetObjectPtrLabel
-
glGetFramebufferParameteriv
public static void glGetFramebufferParameteriv(int target, int pname, int[] params)
Array version of:GetFramebufferParameteriv
-
glGetInternalformati64v
public static void glGetInternalformati64v(int target, int internalformat, int pname, long[] params)
Array version of:GetInternalformati64v
-
glInvalidateFramebuffer
public static void glInvalidateFramebuffer(int target, int[] attachments)
Array version of:InvalidateFramebuffer
-
glInvalidateSubFramebuffer
public static void glInvalidateSubFramebuffer(int target, int[] attachments, int x, int y, int width, int height)
Array version of:InvalidateSubFramebuffer
-
glMultiDrawArraysIndirect
public static void glMultiDrawArraysIndirect(int mode, int[] indirect, int primcount, int stride)
Array version of:MultiDrawArraysIndirect
-
glMultiDrawElementsIndirect
public static void glMultiDrawElementsIndirect(int mode, int type, int[] indirect, int primcount, int stride)
Array version of:MultiDrawElementsIndirect
-
glGetProgramInterfaceiv
public static void glGetProgramInterfaceiv(int program, int programInterface, int pname, int[] params)
Array version of:GetProgramInterfaceiv
-
glGetProgramResourceName
public static void glGetProgramResourceName(int program, int programInterface, int index, int[] length, java.nio.ByteBuffer name)
Array version of:GetProgramResourceName
-
glGetProgramResourceiv
public static void glGetProgramResourceiv(int program, int programInterface, int index, int[] props, int[] length, int[] params)
Array version of:GetProgramResourceiv
-
-