Class GL43
- java.lang.Object
-
- org.lwjgl.opengl.GL43
-
public class GL43 extends java.lang.ObjectThe 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 intGL_ACTIVE_RESOURCESAccepted by thepnameparameter of GetProgramInterfaceiv.static intGL_ACTIVE_VARIABLESAccepted in thepropsarray of GetProgramResourceiv.static intGL_ANY_SAMPLES_PASSED_CONSERVATIVEAccepted by thetargetparameter of BeginQuery, EndQuery, GetQueryIndexediv and GetQueryiv.static intGL_ARRAY_SIZE
GL_ARRAY_STRIDE
GL_ATOMIC_COUNTER_BUFFER_INDEXAccepted in thepropsarray of GetProgramResourceiv.static intGL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADERAccepted by thepnameparameter of GetActiveAtomicCounterBufferiv.static intGL_AUTO_GENERATE_MIPMAPAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_BLOCK_INDEXAccepted in thepropsarray of GetProgramResourceiv.static intGL_BUFFERTokens accepted or provided by theidentifierparameters of ObjectLabel and GetObjectLabel.static intGL_BUFFER_BINDING
GL_BUFFER_DATA_SIZEAccepted in thepropsarray of GetProgramResourceiv.static intGL_BUFFER_VARIABLEAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_CAVEAT_SUPPORTReturned as possible responses for variouspnamequeries to GetInternalformativ and GetInternalformati64v.static intGL_CLEAR_BUFFER
GL_COLOR_COMPONENTS
GL_COLOR_ENCODING
GL_COLOR_RENDERABLEAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_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 theinternalformatparameter of CompressedTexImage2D.static intGL_COMPUTE_SHADERAccepted by thetypeparameter of CreateShader and returned in theparamsparameter by GetShaderiv.static intGL_COMPUTE_SHADER_BITAccepted by thestagesparameter of UseProgramStages.static intGL_COMPUTE_SUBROUTINE
GL_COMPUTE_SUBROUTINE_UNIFORMAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_COMPUTE_TEXTUREAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_COMPUTE_WORK_GROUP_SIZEAccepted by thepnameparameter of GetProgramiv.static intGL_CONTEXT_FLAG_DEBUG_BITReturned by GetIntegerv whenpnameis CONTEXT_FLAGS.static intGL_DEBUG_CALLBACK_FUNCTION
GL_DEBUG_CALLBACK_USER_PARAMTokens accepted by thepnameparameter of GetPointerv.static intGL_DEBUG_GROUP_STACK_DEPTH
GL_DEBUG_LOGGED_MESSAGES
GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTHTokens accepted by thevalueparameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.static intGL_DEBUG_OUTPUT
GL_DEBUG_OUTPUT_SYNCHRONOUSTokens accepted by thetargetparameters of Enable, Disable, and IsEnabled.static intGL_DEBUG_SEVERITY_HIGH
GL_DEBUG_SEVERITY_LOW
GL_DEBUG_SEVERITY_MEDIUM
GL_DEBUG_SEVERITY_NOTIFICATIONTokens accepted or provided by theseverityparameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and theseveritiesparameter of GetDebugMessageLog.static intGL_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 thesourceparameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thesourcesparameter of GetDebugMessageLog.static intGL_DEBUG_TYPE_DEPRECATED_BEHAVIOR
GL_DEBUG_TYPE_ERROR
GL_DEBUG_TYPE_MARKER
GL_DEBUG_TYPE_OTHER
GL_DEBUG_TYPE_PERFORMANCETokens accepted or provided by thetypeparameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thetypesparameter of GetDebugMessageLog.static intGL_DEBUG_TYPE_POP_GROUPTokens accepted or provided by thetypeparameters of DebugMessageControl and DEBUGPROC, and thetypesparameter of GetDebugMessageLog.static intGL_DEBUG_TYPE_PORTABILITYTokens accepted or provided by thetypeparameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thetypesparameter of GetDebugMessageLog.static intGL_DEBUG_TYPE_PUSH_GROUPTokens accepted or provided by thetypeparameters of DebugMessageControl and DEBUGPROC, and thetypesparameter of GetDebugMessageLog.static intGL_DEBUG_TYPE_UNDEFINED_BEHAVIORTokens accepted or provided by thetypeparameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thetypesparameter of GetDebugMessageLog.static intGL_DEPTH_COMPONENTS
GL_DEPTH_RENDERABLEAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_DEPTH_STENCIL_TEXTURE_MODEAccepted by thepnameparameter of TexParameter* and GetTexParameter*.static intGL_DISPATCH_INDIRECT_BUFFERAccepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.static intGL_DISPATCH_INDIRECT_BUFFER_BINDINGAccepted by thevalueparameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_DISPLAY_LISTTokens accepted or provided by theidentifierparameters of ObjectLabel and GetObjectLabel.static intGL_FILTERAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_FRAGMENT_SUBROUTINE
GL_FRAGMENT_SUBROUTINE_UNIFORMAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_FRAGMENT_TEXTURE
GL_FRAMEBUFFER_BLENDAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
GL_FRAMEBUFFER_DEFAULT_HEIGHT
GL_FRAMEBUFFER_DEFAULT_LAYERS
GL_FRAMEBUFFER_DEFAULT_SAMPLES
GL_FRAMEBUFFER_DEFAULT_WIDTHAccepted by thepnameparameter of FramebufferParameteri, GetFramebufferParameteriv, NamedFramebufferParameteriEXT, and GetNamedFramebufferParameterivEXT.static intGL_FRAMEBUFFER_RENDERABLE
GL_FRAMEBUFFER_RENDERABLE_LAYEREDAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_FULL_SUPPORTReturned as possible responses for variouspnamequeries to GetInternalformativ and GetInternalformati64v.static intGL_GEOMETRY_SUBROUTINE
GL_GEOMETRY_SUBROUTINE_UNIFORMAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_GEOMETRY_TEXTURE
GL_GET_TEXTURE_IMAGE_FORMAT
GL_GET_TEXTURE_IMAGE_TYPEAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_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 variouspnamequeries to GetInternalformativ and GetInternalformati64v.static intGL_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 thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_IS_PER_PATCH
GL_IS_ROW_MAJOR
GL_LOCATION
GL_LOCATION_INDEXAccepted in thepropsarray of GetProgramResourceiv.static intGL_MANUAL_GENERATE_MIPMAPAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_MATRIX_STRIDEAccepted in thepropsarray of GetProgramResourceiv.static intGL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTSAccepted by thepnameparameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.static intGL_MAX_COMBINED_DIMENSIONSAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_MAX_COMBINED_SHADER_OUTPUT_RESOURCESAlias for the existing token MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS.static intGL_MAX_COMBINED_SHADER_STORAGE_BLOCKSAccepted by thepnameparameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS
GL_MAX_COMPUTE_ATOMIC_COUNTERS
GL_MAX_COMPUTE_IMAGE_UNIFORMSAccepted by thepnameparameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.static intGL_MAX_COMPUTE_SHADER_STORAGE_BLOCKSAccepted by thepnameparameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_COMPUTE_SHARED_MEMORY_SIZE
GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS
GL_MAX_COMPUTE_UNIFORM_BLOCKS
GL_MAX_COMPUTE_UNIFORM_COMPONENTSAccepted by thepnameparameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.static intGL_MAX_COMPUTE_WORK_GROUP_COUNTAccepted by thepnameparameter of GetIntegeri_v, GetBooleani_v, GetFloati_v, GetDoublei_v and GetInteger64i_v.static intGL_MAX_COMPUTE_WORK_GROUP_INVOCATIONSAccepted by thepnameparameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.static intGL_MAX_COMPUTE_WORK_GROUP_SIZEAccepted by thepnameparameter of GetIntegeri_v, GetBooleani_v, GetFloati_v, GetDoublei_v and GetInteger64i_v.static intGL_MAX_DEBUG_GROUP_STACK_DEPTH
GL_MAX_DEBUG_LOGGED_MESSAGES
GL_MAX_DEBUG_MESSAGE_LENGTHTokens accepted by thevalueparameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.static intGL_MAX_DEPTHAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_MAX_ELEMENT_INDEXAccepted by thevalueparameter of the GetInteger* functions.static intGL_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 thepnameparameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_HEIGHTAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_MAX_LABEL_LENGTHTokens accepted by thevalueparameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.static intGL_MAX_LAYERSAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_MAX_NAME_LENGTH
GL_MAX_NUM_ACTIVE_VARIABLES
GL_MAX_NUM_COMPATIBLE_SUBROUTINESAccepted by thepnameparameter of GetProgramInterfaceiv.static intGL_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 thepnameparameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_UNIFORM_LOCATIONSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static intGL_MAX_VERTEX_ATTRIB_BINDINGS
GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSETAccepted by thepnameparameter of GetIntegerv, ....static intGL_MAX_VERTEX_SHADER_STORAGE_BLOCKSAccepted by thepnameparameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_MAX_WIDTH
GL_MIPMAPAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_NAME_LENGTH
GL_NUM_ACTIVE_VARIABLESAccepted in thepropsarray of GetProgramResourceiv.static intGL_NUM_SHADING_LANGUAGE_VERSIONSNo.static intGL_OFFSETAccepted in thepropsarray of GetProgramResourceiv.static intGL_PRIMITIVE_RESTART_FIXED_INDEXAccepted by thetargetparameter of Enable and Disable.static intGL_PROGRAMTokens accepted or provided by theidentifierparameters of ObjectLabel and GetObjectLabel.static intGL_PROGRAM_INPUT
GL_PROGRAM_OUTPUTAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_PROGRAM_PIPELINE
GL_QUERYTokens accepted or provided by theidentifierparameters of ObjectLabel and GetObjectLabel.static intGL_READ_PIXELS
GL_READ_PIXELS_FORMAT
GL_READ_PIXELS_TYPEAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_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 thepropsarray of GetProgramResourceiv.static intGL_SAMPLER
GL_SHADERTokens accepted or provided by theidentifierparameters of ObjectLabel and GetObjectLabel.static intGL_SHADER_IMAGE_ATOMIC
GL_SHADER_IMAGE_LOAD
GL_SHADER_IMAGE_STOREAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_SHADER_STORAGE_BARRIER_BITAccepted in thebarriersbitfield in glMemoryBarrier.static intGL_SHADER_STORAGE_BLOCKAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_SHADER_STORAGE_BUFFERAccepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.static intGL_SHADER_STORAGE_BUFFER_BINDINGAccepted by thepnameparameter of GetIntegerv, GetIntegeri_v, GetBooleanv, GetInteger64v, GetFloatv, GetDoublev, GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, and GetInteger64i_v.static intGL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENTAccepted by thepnameparameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.static intGL_SHADER_STORAGE_BUFFER_SIZE
GL_SHADER_STORAGE_BUFFER_STARTAccepted by thepnameparameter of GetIntegeri_v, GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, and GetInteger64i_v.static intGL_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 thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_TESS_CONTROL_SUBROUTINE
GL_TESS_CONTROL_SUBROUTINE_UNIFORMAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_TESS_CONTROL_TEXTUREAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_TESS_EVALUATION_SUBROUTINE
GL_TESS_EVALUATION_SUBROUTINE_UNIFORMAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_TESS_EVALUATION_TEXTUREAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_TEXTURE_BUFFER_OFFSETAccepted by thepnameparameter of GetTexLevelParameter.static intGL_TEXTURE_BUFFER_OFFSET_ALIGNMENTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_TEXTURE_BUFFER_SIZEAccepted by thepnameparameter of GetTexLevelParameter.static intGL_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 thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_TEXTURE_IMMUTABLE_LEVELSAccepted by thepnameparameters of GetTexParameterfv and GetTexParameteriv.static intGL_TEXTURE_SHADOW
GL_TEXTURE_VIEWAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_TEXTURE_VIEW_MIN_LAYER
GL_TEXTURE_VIEW_MIN_LEVEL
GL_TEXTURE_VIEW_NUM_LAYERS
GL_TEXTURE_VIEW_NUM_LEVELSAccepted by thepnameparameters of GetTexParameterfv and GetTexParameteriv.static intGL_TOP_LEVEL_ARRAY_SIZE
GL_TOP_LEVEL_ARRAY_STRIDEAccepted in thepropsarray of GetProgramResourceiv.static intGL_TRANSFORM_FEEDBACK_VARYINGAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_TYPEAccepted in thepropsarray of GetProgramResourceiv.static intGL_UNIFORM
GL_UNIFORM_BLOCKAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADERAccepted by thepnameparameter of GetActiveUniformBlockiv.static intGL_VERTEX_ATTRIB_ARRAY_LONGVertex attrib array has unconverted doubles.static intGL_VERTEX_ATTRIB_BINDING
GL_VERTEX_ATTRIB_RELATIVE_OFFSETAccepted by thepnameparameter of GetVertexAttrib*v.static intGL_VERTEX_BINDING_BUFFER
GL_VERTEX_BINDING_DIVISOR
GL_VERTEX_BINDING_OFFSET
GL_VERTEX_BINDING_STRIDEAccepted by thetargetparameter of GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, and GetInteger64i_v.static intGL_VERTEX_SUBROUTINE
GL_VERTEX_SUBROUTINE_UNIFORMAccepted by theprogramInterfaceparameter of GetProgramInterfaceiv, GetProgramResourceIndex, GetProgramResourceName, GetProgramResourceiv, GetProgramResourceLocation, and GetProgramResourceLocationIndex.static intGL_VERTEX_TEXTUREAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.static intGL_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 variouspnamequeries to GetInternalformativ and GetInternalformati64v.static intGL_VIEW_COMPATIBILITY_CLASSAccepted by thepnameparameter of GetInternalformativ and GetInternalformati64v.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglBindVertexBuffer(int bindingindex, int buffer, long offset, int stride)static voidglClearBufferData(int target, int internalformat, int format, int type, java.nio.ByteBuffer data)static voidglClearBufferData(int target, int internalformat, int format, int type, float[] data)static voidglClearBufferData(int target, int internalformat, int format, int type, java.nio.FloatBuffer data)static voidglClearBufferData(int target, int internalformat, int format, int type, int[] data)static voidglClearBufferData(int target, int internalformat, int format, int type, java.nio.IntBuffer data)static voidglClearBufferData(int target, int internalformat, int format, int type, short[] data)static voidglClearBufferData(int target, int internalformat, int format, int type, java.nio.ShortBuffer data)static voidglClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.ByteBuffer data)static voidglClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, float[] data)static voidglClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.FloatBuffer data)static voidglClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, int[] data)static voidglClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.IntBuffer data)static voidglClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, short[] data)static voidglClearBufferSubData(int target, int internalformat, long offset, long size, int format, int type, java.nio.ShortBuffer data)static voidglCopyImageSubData(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 voidglDebugMessageCallback(GLDebugMessageCallbackI callback, long userParam)static voidglDebugMessageControl(int source, int type, int severity, int[] ids, boolean enabled)static voidglDebugMessageControl(int source, int type, int severity, int id, boolean enabled)static voidglDebugMessageControl(int source, int type, int severity, java.nio.IntBuffer ids, boolean enabled)static voidglDebugMessageInsert(int source, int type, int id, int severity, java.nio.ByteBuffer message)static voidglDebugMessageInsert(int source, int type, int id, int severity, java.lang.CharSequence message)static voidglDispatchCompute(int num_groups_x, int num_groups_y, int num_groups_z)static voidglDispatchComputeIndirect(long indirect)static voidglFramebufferParameteri(int target, int pname, int param)static intglGetDebugMessageLog(int count, int[] sources, int[] types, int[] ids, int[] severities, int[] lengths, java.nio.ByteBuffer messageLog)static intglGetDebugMessageLog(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 intglGetFramebufferParameteri(int target, int pname)static voidglGetFramebufferParameteriv(int target, int pname, int[] params)static voidglGetFramebufferParameteriv(int target, int pname, java.nio.IntBuffer params)static longglGetInternalformati64(int target, int internalformat, int pname)static voidglGetInternalformati64v(int target, int internalformat, int pname, long[] params)static voidglGetInternalformati64v(int target, int internalformat, int pname, java.nio.LongBuffer params)static java.lang.StringglGetObjectLabel(int identifier, int name)static java.lang.StringglGetObjectLabel(int identifier, int name, int bufSize)static voidglGetObjectLabel(int identifier, int name, int[] length, java.nio.ByteBuffer label)static voidglGetObjectLabel(int identifier, int name, java.nio.IntBuffer length, java.nio.ByteBuffer label)static java.lang.StringglGetObjectPtrLabel(long ptr)static java.lang.StringglGetObjectPtrLabel(long ptr, int bufSize)static voidglGetObjectPtrLabel(long ptr, int[] length, java.nio.ByteBuffer label)static voidglGetObjectPtrLabel(long ptr, java.nio.IntBuffer length, java.nio.ByteBuffer label)static intglGetProgramInterfacei(int program, int programInterface, int pname)static voidglGetProgramInterfaceiv(int program, int programInterface, int pname, int[] params)static voidglGetProgramInterfaceiv(int program, int programInterface, int pname, java.nio.IntBuffer params)static intglGetProgramResourceIndex(int program, int programInterface, java.nio.ByteBuffer name)static intglGetProgramResourceIndex(int program, int programInterface, java.lang.CharSequence name)static voidglGetProgramResourceiv(int program, int programInterface, int index, int[] props, int[] length, int[] params)static voidglGetProgramResourceiv(int program, int programInterface, int index, java.nio.IntBuffer props, java.nio.IntBuffer length, java.nio.IntBuffer params)static intglGetProgramResourceLocation(int program, int programInterface, java.nio.ByteBuffer name)static intglGetProgramResourceLocation(int program, int programInterface, java.lang.CharSequence name)static intglGetProgramResourceLocationIndex(int program, int programInterface, java.nio.ByteBuffer name)static intglGetProgramResourceLocationIndex(int program, int programInterface, java.lang.CharSequence name)static java.lang.StringglGetProgramResourceName(int program, int programInterface, int index)static java.lang.StringglGetProgramResourceName(int program, int programInterface, int index, int bufSize)static voidglGetProgramResourceName(int program, int programInterface, int index, int[] length, java.nio.ByteBuffer name)static voidglGetProgramResourceName(int program, int programInterface, int index, java.nio.IntBuffer length, java.nio.ByteBuffer name)static voidglInvalidateBufferData(int buffer)static voidglInvalidateBufferSubData(int buffer, long offset, long length)static voidglInvalidateFramebuffer(int target, int attachment)static voidglInvalidateFramebuffer(int target, int[] attachments)static voidglInvalidateFramebuffer(int target, java.nio.IntBuffer attachments)static voidglInvalidateSubFramebuffer(int target, int[] attachments, int x, int y, int width, int height)static voidglInvalidateSubFramebuffer(int target, java.nio.IntBuffer attachments, int x, int y, int width, int height)static voidglInvalidateSubFramebuffer(int target, int attachment, int x, int y, int width, int height)static voidglInvalidateTexImage(int texture, int level)static voidglInvalidateTexSubImage(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth)static voidglMultiDrawArraysIndirect(int mode, java.nio.ByteBuffer indirect, int primcount, int stride)static voidglMultiDrawArraysIndirect(int mode, int[] indirect, int primcount, int stride)static voidglMultiDrawArraysIndirect(int mode, java.nio.IntBuffer indirect, int primcount, int stride)static voidglMultiDrawArraysIndirect(int mode, long indirect, int primcount, int stride)static voidglMultiDrawElementsIndirect(int mode, int type, java.nio.ByteBuffer indirect, int primcount, int stride)static voidglMultiDrawElementsIndirect(int mode, int type, int[] indirect, int primcount, int stride)static voidglMultiDrawElementsIndirect(int mode, int type, java.nio.IntBuffer indirect, int primcount, int stride)static voidglMultiDrawElementsIndirect(int mode, int type, long indirect, int primcount, int stride)static voidglObjectLabel(int identifier, int name, java.nio.ByteBuffer label)static voidglObjectLabel(int identifier, int name, java.lang.CharSequence label)static voidglObjectPtrLabel(long ptr, java.nio.ByteBuffer label)static voidglObjectPtrLabel(long ptr, java.lang.CharSequence label)static voidglPopDebugGroup()static voidglPushDebugGroup(int source, int id, java.nio.ByteBuffer message)static voidglPushDebugGroup(int source, int id, java.lang.CharSequence message)static voidglShaderStorageBlockBinding(int program, int storageBlockIndex, int storageBlockBinding)static voidglTexBufferRange(int target, int internalformat, int buffer, long offset, long size)static voidglTexStorage2DMultisample(int target, int samples, int internalformat, int width, int height, boolean fixedsamplelocations)static voidglTexStorage3DMultisample(int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations)static voidglTextureView(int texture, int target, int origtexture, int internalformat, int minlevel, int numlevels, int minlayer, int numlayers)static voidglVertexAttribBinding(int attribindex, int bindingindex)static voidglVertexAttribFormat(int attribindex, int size, int type, boolean normalized, int relativeoffset)static voidglVertexAttribIFormat(int attribindex, int size, int type, int relativeoffset)static voidglVertexAttribLFormat(int attribindex, int size, int type, int relativeoffset)static voidglVertexBindingDivisor(int bindingindex, int divisor)
-
-
-
Field Detail
-
GL_NUM_SHADING_LANGUAGE_VERSIONS
No. of supported Shading Language Versions. Accepted by thepnameparameter of GetIntegerv.
-
GL_VERTEX_ATTRIB_ARRAY_LONG
Vertex attrib array has unconverted doubles. Accepted by thepnameparameter 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 theinternalformatparameter of CompressedTexImage2D.
-
GL_PRIMITIVE_RESTART_FIXED_INDEX
Accepted by thetargetparameter of Enable and Disable.
-
GL_ANY_SAMPLES_PASSED_CONSERVATIVE
Accepted by thetargetparameter of BeginQuery, EndQuery, GetQueryIndexediv and GetQueryiv.
-
GL_MAX_ELEMENT_INDEX
Accepted by thevalueparameter of the GetInteger* functions.
-
GL_TEXTURE_IMMUTABLE_LEVELS
Accepted by thepnameparameters of GetTexParameterfv and GetTexParameteriv.
-
GL_COMPUTE_SHADER
Accepted by thetypeparameter of CreateShader and returned in theparamsparameter 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 thepnameparameter of GetIntegerv, GetBooleanv, GetFloatv, GetDoublev and GetInteger64v.
-
GL_MAX_COMPUTE_WORK_GROUP_COUNT, GL_MAX_COMPUTE_WORK_GROUP_SIZE
Accepted by thepnameparameter of GetIntegeri_v, GetBooleani_v, GetFloati_v, GetDoublei_v and GetInteger64i_v.
-
GL_COMPUTE_WORK_GROUP_SIZE
Accepted by thepnameparameter of GetProgramiv.
-
GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER
Accepted by thepnameparameter of GetActiveUniformBlockiv.
-
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER
Accepted by thepnameparameter of GetActiveAtomicCounterBufferiv.
-
GL_DISPATCH_INDIRECT_BUFFER
Accepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.
-
GL_DISPATCH_INDIRECT_BUFFER_BINDING
Accepted by thevalueparameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.
-
GL_COMPUTE_SHADER_BIT
Accepted by thestagesparameter of UseProgramStages.
-
GL_DEBUG_OUTPUT, GL_DEBUG_OUTPUT_SYNCHRONOUS
Tokens accepted by thetargetparameters of Enable, Disable, and IsEnabled.
-
GL_CONTEXT_FLAG_DEBUG_BIT
Returned by GetIntegerv whenpnameis 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 thevalueparameters of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev and GetInteger64v.
-
GL_DEBUG_CALLBACK_FUNCTION, GL_DEBUG_CALLBACK_USER_PARAM
Tokens accepted by thepnameparameter 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 thesourceparameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thesourcesparameter 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 thetypeparameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC, and thetypesparameter of GetDebugMessageLog.
-
GL_DEBUG_TYPE_PUSH_GROUP, GL_DEBUG_TYPE_POP_GROUP
Tokens accepted or provided by thetypeparameters of DebugMessageControl and DEBUGPROC, and thetypesparameter of GetDebugMessageLog.
-
GL_DEBUG_SEVERITY_HIGH, GL_DEBUG_SEVERITY_MEDIUM, GL_DEBUG_SEVERITY_LOW, GL_DEBUG_SEVERITY_NOTIFICATION
Tokens accepted or provided by theseverityparameters of DebugMessageControl, DebugMessageInsert and DEBUGPROC callback functions, and theseveritiesparameter of GetDebugMessageLog.
-
GL_BUFFER, GL_SHADER, GL_PROGRAM, GL_QUERY, GL_PROGRAM_PIPELINE, GL_SAMPLER, GL_DISPLAY_LIST
Tokens accepted or provided by theidentifierparameters of ObjectLabel and GetObjectLabel.
-
GL_MAX_UNIFORM_LOCATIONS
Accepted by thepnameparameter 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 thepnameparameter of FramebufferParameteri, GetFramebufferParameteriv, NamedFramebufferParameteriEXT, and GetNamedFramebufferParameterivEXT.
-
GL_MAX_FRAMEBUFFER_WIDTH, GL_MAX_FRAMEBUFFER_HEIGHT, GL_MAX_FRAMEBUFFER_LAYERS, GL_MAX_FRAMEBUFFER_SAMPLES
Accepted by thepnameparameter 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 thepnameparameter 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 variouspnamequeries 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 theprogramInterfaceparameter 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 thepnameparameter 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 thepropsarray of GetProgramResourceiv.
-
GL_SHADER_STORAGE_BUFFER
Accepted by thetargetparameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.
-
GL_SHADER_STORAGE_BUFFER_BINDING
Accepted by thepnameparameter 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 thepnameparameter 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 thepnameparameter of GetIntegerv, GetBooleanv, GetInteger64v, GetFloatv, and GetDoublev.
-
GL_SHADER_STORAGE_BARRIER_BIT
Accepted in thebarriersbitfield 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 thepnameparameter of TexParameter* and GetTexParameter*.
-
GL_TEXTURE_BUFFER_OFFSET, GL_TEXTURE_BUFFER_SIZE
Accepted by thepnameparameter of GetTexLevelParameter.
-
GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT
Accepted by thepnameparameter 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 thepnameparameters of GetTexParameterfv and GetTexParameteriv.
-
GL_VERTEX_ATTRIB_BINDING, GL_VERTEX_ATTRIB_RELATIVE_OFFSET
Accepted by thepnameparameter of GetVertexAttrib*v.
-
GL_VERTEX_BINDING_DIVISOR, GL_VERTEX_BINDING_OFFSET, GL_VERTEX_BINDING_STRIDE, GL_VERTEX_BINDING_BUFFER
Accepted by thetargetparameter 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 thepnameparameter 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
glDispatchComputeIndirectis 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_BUFFERbuffer 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 namesrcNamesrcLevel- 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 namedstNamedstLevel- 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
enabledisTRUE, 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, orseverityisDONT_CARE, the messages from all sources, of all types, or of all severities are referenced respectively. - When values other than
DONT_CAREare specified, all messages whose source, type, or severity match the specifiedsource,type, orseverityrespectively will be referenced. - If
countis greater than zero, thenidsis an array ofcountmessage IDs for the specified combination ofsourceandtype. In this case, ifsourceortypeisDONT_CARE, orseverityis notDONT_CARE, the errorINVALID_OPERATIONis generated.
Unrecognized message IDs in
idsare ignored. Ifcountis zero, the value ifidsis 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_OUTPUTstate is disabled the GL operates the same as if messages of everysource,typeorseverityare disabled.- Parameters:
source- the source of debug messages to enable or disable. One of:DEBUG_SOURCE_APIDEBUG_SOURCE_WINDOW_SYSTEMDEBUG_SOURCE_SHADER_COMPILERDEBUG_SOURCE_THIRD_PARTYDEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_OTHERtype- the type of debug messages to enable or disable. One of:DEBUG_TYPE_ERRORDEBUG_TYPE_DEPRECATED_BEHAVIORDEBUG_TYPE_UNDEFINED_BEHAVIORDEBUG_TYPE_PORTABILITYDEBUG_TYPE_PERFORMANCEDEBUG_TYPE_OTHERDEBUG_TYPE_MARKERseverity- the severity of debug messages to enable or disable. One of:DEBUG_SEVERITY_HIGHDEBUG_SEVERITY_MEDIUMDEBUG_SEVERITY_LOWDEBUG_SEVERITY_NOTIFICATIONids- 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
enabledisTRUE, 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, orseverityisDONT_CARE, the messages from all sources, of all types, or of all severities are referenced respectively. - When values other than
DONT_CAREare specified, all messages whose source, type, or severity match the specifiedsource,type, orseverityrespectively will be referenced. - If
countis greater than zero, thenidsis an array ofcountmessage IDs for the specified combination ofsourceandtype. In this case, ifsourceortypeisDONT_CARE, orseverityis notDONT_CARE, the errorINVALID_OPERATIONis generated.
Unrecognized message IDs in
idsare ignored. Ifcountis zero, the value ifidsis 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_OUTPUTstate is disabled the GL operates the same as if messages of everysource,typeorseverityare disabled.- Parameters:
source- the source of debug messages to enable or disable. One of:DEBUG_SOURCE_APIDEBUG_SOURCE_WINDOW_SYSTEMDEBUG_SOURCE_SHADER_COMPILERDEBUG_SOURCE_THIRD_PARTYDEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_OTHERtype- the type of debug messages to enable or disable. One of:DEBUG_TYPE_ERRORDEBUG_TYPE_DEPRECATED_BEHAVIORDEBUG_TYPE_UNDEFINED_BEHAVIORDEBUG_TYPE_PORTABILITYDEBUG_TYPE_PERFORMANCEDEBUG_TYPE_OTHERDEBUG_TYPE_MARKERseverity- the severity of debug messages to enable or disable. One of:DEBUG_SEVERITY_HIGHDEBUG_SEVERITY_MEDIUMDEBUG_SEVERITY_LOWDEBUG_SEVERITY_NOTIFICATIONenabled- 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
idspecifies the ID for the message andseverityindicates its severity level as defined by the caller. The stringbufcontains the string representation of the message. The parameterlengthcontains the number of characters inbuf. Iflengthis negative, it is implied thatbufcontains a null terminated string. The errorINVALID_VALUEwill be generated if the number of characters inbuf, excluding the null terminator whenlengthis negative, is not less than the value ofMAX_DEBUG_MESSAGE_LENGTH.If the
DEBUG_OUTPUTstate 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_COMPILERDEBUG_SOURCE_THIRD_PARTYDEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_OTHERtype- the type of the debug message insert. One of:DEBUG_TYPE_ERRORDEBUG_TYPE_DEPRECATED_BEHAVIORDEBUG_TYPE_UNDEFINED_BEHAVIORDEBUG_TYPE_PORTABILITYDEBUG_TYPE_PERFORMANCEDEBUG_TYPE_OTHERDEBUG_TYPE_MARKERid- the user-supplied identifier of the message to insert. One of:DEBUG_SEVERITY_HIGHDEBUG_SEVERITY_MEDIUMDEBUG_SEVERITY_LOWDEBUG_SEVERITY_NOTIFICATIONseverity- 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
NULLas the value ofcallbackclears 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 inmessageand its length (excluding the null-terminator) is stored inlength. The parameteruserParamis 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_FUNCTIONandDEBUG_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
messageis 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_OUTPUTstate 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
countmessages 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 tocountelements. The string representations of all fetched messages are stored in themessageLogarray. If multiple messages are fetched, their strings are concatenated into the samemessageLogarray 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. IfbufSizeis less than zero andmessageLogis notNULL, anINVALID_VALUEerror will be generated. If a message's string, including its null terminator, can not fully fit within themessageLogarray'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 arraylengthsinclude the space for the null terminator of each string.Any or all of the arrays
sources,types,ids,severities,lengthsandmessageLogcan 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 tocountmessages 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_BITin theCONTEXT_FLAGSstate, 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 stringmessageinto the command stream. The value ofidspecifies the ID of messages generated. The parameterlengthcontains the number of characters inmessage. Iflengthis negative, it is implied thatmessagecontains a null terminated string. The message has the specifiedsourceandid,typeDEBUG_TYPE_PUSH_GROUP, andseverityDEBUG_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_ENUMerror is generated if the value ofsourceis neitherDEBUG_SOURCE_APPLICATIONnorDEBUG_SOURCE_THIRD_PARTY. AnINVALID_VALUEerror is generated iflengthis 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_APPLICATIONDEBUG_SOURCE_THIRD_PARTYid- 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 themessagestring, the sourcesource, and an IDidsubmitted to the associatedPushDebugGroupcommand.DEBUG_TYPE_PUSH_GROUPandDEBUG_TYPE_POP_GROUPshare a single namespace for messageid.severityhas the valueDEBUG_SEVERITY_NOTIFICATION. Thetypehas 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_UNDERFLOWerror; pushing a debug group onto a stack containingMAX_DEBUG_GROUP_STACK_DEPTHminus one elements will generate aSTACK_OVERFLOWerror.
-
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:BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERDISPLAY_LISTVERTEX_ARRAYTEXTURERENDERBUFFERFRAMEBUFFERTRANSFORM_FEEDBACKname- 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:BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERDISPLAY_LISTVERTEX_ARRAYTEXTURERENDERBUFFERFRAMEBUFFERTRANSFORM_FEEDBACKname- 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:BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERDISPLAY_LISTVERTEX_ARRAYTEXTURERENDERBUFFERFRAMEBUFFERTRANSFORM_FEEDBACKname- 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:BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERDISPLAY_LISTVERTEX_ARRAYTEXTURERENDERBUFFERFRAMEBUFFERTRANSFORM_FEEDBACKname- 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_FRAMEBUFFERDRAW_FRAMEBUFFERFRAMEBUFFERpname- a token indicating the parameter to be modified. One of:FRAMEBUFFER_DEFAULT_WIDTHFRAMEBUFFER_DEFAULT_HEIGHTFRAMEBUFFER_DEFAULT_LAYERSFRAMEBUFFER_DEFAULT_SAMPLESFRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONSparam- 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_FRAMEBUFFERDRAW_FRAMEBUFFERFRAMEBUFFERpname- a token indicating the parameter to be retrieved. One of:FRAMEBUFFER_DEFAULT_WIDTHFRAMEBUFFER_DEFAULT_HEIGHTFRAMEBUFFER_DEFAULT_LAYERSFRAMEBUFFER_DEFAULT_SAMPLESFRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONSparams- 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_FRAMEBUFFERDRAW_FRAMEBUFFERFRAMEBUFFERpname- a token indicating the parameter to be retrieved. One of:FRAMEBUFFER_DEFAULT_WIDTHFRAMEBUFFER_DEFAULT_HEIGHTFRAMEBUFFER_DEFAULT_LAYERSFRAMEBUFFER_DEFAULT_SAMPLESFRAMEBUFFER_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_1DTEXTURE_2DTEXTURE_1D_ARRAYTEXTURE_RECTANGLETEXTURE_CUBE_MAPTEXTURE_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYRENDERBUFFERTEXTURE_BUFFERTEXTURE_2D_MULTISAMPLETEXTURE_2D_MULTISAMPLE_ARRAYinternalformat- 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_1DTEXTURE_2DTEXTURE_1D_ARRAYTEXTURE_RECTANGLETEXTURE_CUBE_MAPTEXTURE_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYRENDERBUFFERTEXTURE_BUFFERTEXTURE_2D_MULTISAMPLETEXTURE_2D_MULTISAMPLE_ARRAYinternalformat- 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:FRAMEBUFFERDRAW_FRAMEBUFFERREAD_FRAMEBUFFERattachments- 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:FRAMEBUFFERDRAW_FRAMEBUFFERREAD_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:FRAMEBUFFERDRAW_FRAMEBUFFERREAD_FRAMEBUFFERattachments- 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:FRAMEBUFFERDRAW_FRAMEBUFFERREAD_FRAMEBUFFERx- 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
indirectare 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
glMultiDrawArraysIndirectis 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:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESindirect- 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
glMultiDrawElementsIndirectis 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:POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FANTRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHEStype- the type of data in the buffer bound to the GL_ELEMENT_ARRAY_BUFFER binding. One of:UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INTindirect- a structure containing an array of draw parametersprimcount- the number of elements in the array addressed byindirectstride- 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 withinprogramto query. One of:pname- the name of the parameter withinprogramInterfaceto query. One of:ACTIVE_RESOURCESMAX_NAME_LENGTHMAX_NUM_ACTIVE_VARIABLESMAX_NUM_COMPATIBLE_SUBROUTINESparams- a variable to retrieve the value ofpnamefor 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 withinprogramto query. One of:pname- the name of the parameter withinprogramInterfaceto query. One of:ACTIVE_RESOURCESMAX_NAME_LENGTHMAX_NUM_ACTIVE_VARIABLESMAX_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 withinprogramcontaining 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 withinprogramcontaining the indexed resource. One of:index- the index of the resource withinprogramInterfaceofprogramlength- 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 withinprogramcontaining the indexed resource. One of:index- the index of the resource withinprogramInterfaceofprogrambufSize- 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 withinprogramcontaining the indexed resource. One of:index- the index of the resource withinprogramInterfaceofprogram
-
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 withinprogramcontaining 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 withinprogramcontaining the resource namednamename- 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 withinprogramcontaining the resource namedname. Must be:PROGRAM_OUTPUTname- 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_BUFFERinternalformat- the internal format of the data in the store belonging tobufferbuffer- 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_MULTISAMPLEPROXY_TEXTURE_2D_MULTISAMPLEsamples- 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_ARRAYPROXY_TEXTURE_2D_MULTISAMPLEsamples- 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 BGRAtype- 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 BGRAtype- 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 BGRAtype- 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
-
-