OpenGL 4.2 implementations support revision 4.20 of the OpenGL Shading Language.
Extensions promoted to core in this release:
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_ACTIVE_ATOMIC_COUNTER_BUFFERS
Accepted by the |
| public static final int | GL_ALL_BARRIER_BITS
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BARRIER_BIT
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_BINDING
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_SIZE
Accepted by the |
| public static final int | GL_ATOMIC_COUNTER_BUFFER_START
Accepted by the |
| public static final int | GL_BUFFER_UPDATE_BARRIER_BIT
Accepted by the |
| public static final int | GL_COMMAND_BARRIER_BIT
Accepted by the |
| public static final int | GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT
Accepted by the |
| public static final int | GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT
Accepted by the |
| public static final int | GL_COMPRESSED_RGBA_BPTC_UNORM
Accepted by the |
| public static final int | GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM
Accepted by the |
| public static final int | GL_COPY_READ_BUFFER_BINDING
Renamed tokens. |
| public static final int | GL_COPY_WRITE_BUFFER_BINDING
Renamed tokens. |
| public static final int | GL_ELEMENT_ARRAY_BARRIER_BIT
Accepted by the |
| public static final int | GL_FRAMEBUFFER_BARRIER_BIT
Accepted by the |
| public static final int | GL_IMAGE_1D
Returned by the |
| public static final int | GL_IMAGE_1D_ARRAY
Returned by the |
| public static final int | GL_IMAGE_2D
Returned by the |
| public static final int | GL_IMAGE_2D_ARRAY
Returned by the |
| public static final int | GL_IMAGE_2D_MULTISAMPLE
Returned by the |
| public static final int | GL_IMAGE_2D_MULTISAMPLE_ARRAY
Returned by the |
| public static final int | GL_IMAGE_2D_RECT
Returned by the |
| public static final int | GL_IMAGE_3D
Returned by the |
| public static final int | GL_IMAGE_BINDING_ACCESS
Accepted by the |
| public static final int | GL_IMAGE_BINDING_FORMAT
Accepted by the |
| public static final int | GL_IMAGE_BINDING_LAYER
Accepted by the |
| public static final int | GL_IMAGE_BINDING_LAYERED
Accepted by the |
| public static final int | GL_IMAGE_BINDING_LEVEL
Accepted by the |
| public static final int | GL_IMAGE_BINDING_NAME
Accepted by the |
| public static final int | GL_IMAGE_BUFFER
Returned by the |
| public static final int | GL_IMAGE_CUBE
Returned by the |
| public static final int | GL_IMAGE_CUBE_MAP_ARRAY
Returned by the |
| public static final int | GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS
Returned in the |
| public static final int | GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE
Returned in the |
| public static final int | GL_IMAGE_FORMAT_COMPATIBILITY_TYPE
Accepted by the |
| public static final int | GL_INT_IMAGE_1D
Returned by the |
| public static final int | GL_INT_IMAGE_1D_ARRAY
Returned by the |
| public static final int | GL_INT_IMAGE_2D
Returned by the |
| public static final int | GL_INT_IMAGE_2D_ARRAY
Returned by the |
| public static final int | GL_INT_IMAGE_2D_MULTISAMPLE
Returned by the |
| public static final int | GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY
Returned by the |
| public static final int | GL_INT_IMAGE_2D_RECT
Returned by the |
| public static final int | GL_INT_IMAGE_3D
Returned by the |
| public static final int | GL_INT_IMAGE_BUFFER
Returned by the |
| public static final int | GL_INT_IMAGE_CUBE
Returned by the |
| public static final int | GL_INT_IMAGE_CUBE_MAP_ARRAY
Returned by the |
| public static final int | GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS
Accepted by the |
| public static final int | GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE
Accepted by the |
| public static final int | GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS
Accepted by the |
| public static final int | GL_MAX_COMBINED_ATOMIC_COUNTERS
Accepted by the |
| public static final int | GL_MAX_COMBINED_IMAGE_UNIFORMS
Accepted by the |
| public static final int | GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS
Accepted by the |
| public static final int | GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS
Accepted by the |
| public static final int | GL_MAX_FRAGMENT_ATOMIC_COUNTERS
Accepted by the |
| public static final int | GL_MAX_FRAGMENT_IMAGE_UNIFORMS
Accepted by the |
| public static final int | GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS
Accepted by the |
| public static final int | GL_MAX_GEOMETRY_ATOMIC_COUNTERS
Accepted by the |
| public static final int | GL_MAX_GEOMETRY_IMAGE_UNIFORMS
Accepted by the |
| public static final int | GL_MAX_IMAGE_SAMPLES
Accepted by the |
| public static final int | GL_MAX_IMAGE_UNITS
Accepted by the |
| public static final int | GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS
Accepted by the |
| public static final int | GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS
Accepted by the |
| public static final int | GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS
Accepted by the |
| public static final int | GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS
Accepted by the |
| public static final int | GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS
Accepted by the |
| public static final int | GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS
Accepted by the |
| public static final int | GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS
Accepted by the |
| public static final int | GL_MAX_VERTEX_ATOMIC_COUNTERS
Accepted by the |
| public static final int | GL_MAX_VERTEX_IMAGE_UNIFORMS
Accepted by the |
| public static final int | GL_MIN_MAP_BUFFER_ALIGNMENT
Accepted by the |
| public static final int | GL_NUM_SAMPLE_COUNTS
Accepted by the |
| public static final int | GL_PACK_COMPRESSED_BLOCK_DEPTH
Accepted by the |
| public static final int | GL_PACK_COMPRESSED_BLOCK_HEIGHT
Accepted by the |
| public static final int | GL_PACK_COMPRESSED_BLOCK_SIZE
Accepted by the |
| public static final int | GL_PACK_COMPRESSED_BLOCK_WIDTH
Accepted by the |
| public static final int | GL_PIXEL_BUFFER_BARRIER_BIT
Accepted by the |
| public static final int | GL_SHADER_IMAGE_ACCESS_BARRIER_BIT
Accepted by the |
| public static final int | GL_TEXTURE_FETCH_BARRIER_BIT
Accepted by the |
| public static final int | GL_TEXTURE_IMMUTABLE_FORMAT
Accepted by the |
| public static final int | GL_TEXTURE_UPDATE_BARRIER_BIT
Accepted by the |
| public static final int | GL_TRANSFORM_FEEDBACK_ACTIVE
Renamed tokens. |
| public static final int | GL_TRANSFORM_FEEDBACK_BARRIER_BIT
Accepted by the |
| public static final int | GL_TRANSFORM_FEEDBACK_PAUSED
Renamed tokens. |
| public static final int | GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX
Accepted by the |
| public static final int | GL_UNIFORM_BARRIER_BIT
Accepted by the |
| public static final int | GL_UNPACK_COMPRESSED_BLOCK_DEPTH
Accepted by the |
| public static final int | GL_UNPACK_COMPRESSED_BLOCK_HEIGHT
Accepted by the |
| public static final int | GL_UNPACK_COMPRESSED_BLOCK_SIZE
Accepted by the |
| public static final int | GL_UNPACK_COMPRESSED_BLOCK_WIDTH
Accepted by the |
| public static final int | GL_UNSIGNED_INT_ATOMIC_COUNTER
Returned in |
| public static final int | GL_UNSIGNED_INT_IMAGE_1D
Returned by the |
| public static final int | GL_UNSIGNED_INT_IMAGE_1D_ARRAY
Returned by the |
| public static final int | GL_UNSIGNED_INT_IMAGE_2D
Returned by the |
| public static final int | GL_UNSIGNED_INT_IMAGE_2D_ARRAY
Returned by the |
| public static final int | GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE
Returned by the |
| public static final int | GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY
Returned by the |
| public static final int | GL_UNSIGNED_INT_IMAGE_2D_RECT
Returned by the |
| public static final int | GL_UNSIGNED_INT_IMAGE_3D
Returned by the |
| public static final int | GL_UNSIGNED_INT_IMAGE_BUFFER
Returned by the |
| public static final int | GL_UNSIGNED_INT_IMAGE_CUBE
Returned by the |
| public static final int | GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY
Returned by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static native void | glBindImageTexture(int
the index of the image unit to which to bind the texture unit, int the name of the texture to bind to the image unit texture, int the level of the texture that is to be bound level, boolean whether a layered texture binding is to be established layered, int if layer, int layered is false, specifies the layer of texture to be bound to the image unit. Ignored otherwise.a token indicating the type of access that will be performed on the image access, int the format that the elements of the image will be treated as for the purposes of formatted stores format)Binds a level of a texture to an image unit. | ||||||||
| public static native void | glDrawArraysInstancedBaseInstance(int mode, int
the starting index in the enabled arrays first, int the number of indices to be rendered count, int the number of instances of the specified range of indices to be rendered primcount, int the base instance for use in fetching instanced vertex attributes baseinstance)Draws multiple instances of a range of elements with an offset applied to instanced attributes. | ||||||||
| public static void | glDrawElementsInstancedBaseInstance(int mode, int
the number of elements to be rendered count, int type, long a pointer to the location where the indices are stored indices, int the number of instances of the specified range of indices to be rendered primcount, int the base instance for use in fetching instanced vertex attributes baseinstance)Draws multiple instances of a set of elements with an offset applied to instanced attributes | ||||||||
| public static void | glDrawElementsInstancedBaseInstance(int mode, int type, ByteBuffer
a pointer to the location where the indices are stored indices, int the number of instances of the specified range of indices to be rendered primcount, int the base instance for use in fetching instanced vertex attributes baseinstance)Draws multiple instances of a set of elements with an offset applied to instanced attributes | ||||||||
| public static void | glDrawElementsInstancedBaseInstance(int mode, ByteBuffer
a pointer to the location where the indices are stored indices, int the number of instances of the specified range of indices to be rendered primcount, int the base instance for use in fetching instanced vertex attributes baseinstance)Draws multiple instances of a set of elements with an offset applied to instanced attributes | ||||||||
| public static void | glDrawElementsInstancedBaseInstance(int mode, ShortBuffer
a pointer to the location where the indices are stored indices, int the number of instances of the specified range of indices to be rendered primcount, int the base instance for use in fetching instanced vertex attributes baseinstance)Draws multiple instances of a set of elements with an offset applied to instanced attributes | ||||||||
| public static void | glDrawElementsInstancedBaseInstance(int mode, IntBuffer
a pointer to the location where the indices are stored indices, int the number of instances of the specified range of indices to be rendered primcount, int the base instance for use in fetching instanced vertex attributes baseinstance)Draws multiple instances of a set of elements with an offset applied to instanced attributes | ||||||||
| public static void | glDrawElementsInstancedBaseVertexBaseInstance(int mode, int
the number of elements to be rendered count, int type, long a pointer to the location where the indices are stored indices, int the number of instances of the indexed geometry that should be drawn primcount, int a constant that should be added to each element of basevertex, int indices when choosing elements from the enabled vertex arraysthe base instance for use in fetching instanced vertex attributes baseinstance)Renders multiple instances of a set of primitives from array data with a per-element offset. | ||||||||
| public static void | glDrawElementsInstancedBaseVertexBaseInstance(int mode, int type, ByteBuffer
a pointer to the location where the indices are stored indices, int the number of instances of the indexed geometry that should be drawn primcount, int a constant that should be added to each element of basevertex, int indices when choosing elements from the enabled vertex arraysthe base instance for use in fetching instanced vertex attributes baseinstance)Renders multiple instances of a set of primitives from array data with a per-element offset. | ||||||||
| public static void | glDrawElementsInstancedBaseVertexBaseInstance(int mode, ByteBuffer
a pointer to the location where the indices are stored indices, int the number of instances of the indexed geometry that should be drawn primcount, int a constant that should be added to each element of basevertex, int indices when choosing elements from the enabled vertex arraysthe base instance for use in fetching instanced vertex attributes baseinstance)Renders multiple instances of a set of primitives from array data with a per-element offset. | ||||||||
| public static void | glDrawElementsInstancedBaseVertexBaseInstance(int mode, ShortBuffer
a pointer to the location where the indices are stored indices, int the number of instances of the indexed geometry that should be drawn primcount, int a constant that should be added to each element of basevertex, int indices when choosing elements from the enabled vertex arraysthe base instance for use in fetching instanced vertex attributes baseinstance)Renders multiple instances of a set of primitives from array data with a per-element offset. | ||||||||
| public static void | glDrawElementsInstancedBaseVertexBaseInstance(int mode, IntBuffer
a pointer to the location where the indices are stored indices, int the number of instances of the indexed geometry that should be drawn primcount, int a constant that should be added to each element of basevertex, int indices when choosing elements from the enabled vertex arraysthe base instance for use in fetching instanced vertex attributes baseinstance)Renders multiple instances of a set of primitives from array data with a per-element offset. | ||||||||
| public static native void | glDrawTransformFeedbackInstanced(int mode, int
the name of a transform feedback object from which to retrieve a primitive count id, int the number of instances of the geometry to render primcount)Renders multiple instances of primitives using a count derived from a transform feedback object. | ||||||||
| public static native void | glDrawTransformFeedbackStreamInstanced(int mode, int
the name of a transform feedback object from which to retrieve a primitive count id, int the index of the transform feedback stream from which to retrieve a primitive count stream, int the number of instances of the geometry to render primcount)Renders multiple instances of primitives using a count derived from a specifed stream of a transform feedback object. | ||||||||
| public static int | glGetActiveAtomicCounterBufferi(int
the name of a program object for which the command program, int LinkProgram has been issued in the pastthe index of an active atomic counter buffer bufferIndex, int the parameter to query. One of: pname)Obtains information about the set of active atomic counter buffers for a program. | ||||||||
| public static void | glGetActiveAtomicCounterBufferiv(int
the name of a program object for which the command program, int LinkProgram has been issued in the pastthe index of an active atomic counter buffer bufferIndex, int the parameter to query. One of: pname, IntBuffer a buffer in which to place the returned value params)Obtains information about the set of active atomic counter buffers for a program. | ||||||||
| public static void | glGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, int[] params)
Array version of: | ||||||||
| public static int | glGetInternalformati(int target, int
the internal format about which to retrieve information internalformat, int the type of information to query pname)Retrieves information about implementation-dependent support for internal formats. | ||||||||
| public static void | glGetInternalformativ(int target, int
the internal format about which to retrieve information internalformat, int the type of information to query pname, IntBuffer a variable into which to write the retrieved information params)Retrieves information about implementation-dependent support for internal formats. | ||||||||
| public static void | glGetInternalformativ(int target, int internalformat, int pname, int[] params)
Array version of: | ||||||||
| public static native void | glMemoryBarrier(int
the barriers to insert (bitwise combination). One or more of: barriers)Defines a barrier ordering memory transactions. | ||||||||
| public static native void | glTexStorage1D(int
the target of the operation. One of: target, int
the number of texture levels levels, int the sized internal format to be used to store texture image data internalformat, int the width of the texture, in texels width)Simultaneously specifies storage for all levels of a one-dimensional texture. | ||||||||
| public static native void | glTexStorage2D(int
the target of the operation. One of: target, int
the number of texture levels levels, int the sized internal format to be used to store texture image data internalformat, int the width of the texture, in texels width, int the height of the texture, in texels height)Simultaneously specifies storage for all levels of a two-dimensional or one-dimensional array texture. | ||||||||
| public static native void | glTexStorage3D(int
the target of the operation. One of: target, int
the number of texture levels levels, int the sized internal format to be used to store texture image data internalformat, int the width of the texture, in texels width, int the height of the texture, in texels height, int the depth of the texture, in texels depth)Simultaneously specifies storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture. | ||||||||
| public static native void | nglDrawElementsInstancedBaseInstance(int mode, int
the number of elements to be rendered count, int type, long indices, int primcount, int baseinstance)Unsafe version of: | ||||||||
| public static native void | nglDrawElementsInstancedBaseVertexBaseInstance(int mode, int
the number of elements to be rendered count, int type, long indices, int primcount, int basevertex, int baseinstance)Unsafe version of: | ||||||||
| public static native void | nglGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, long params)
Unsafe version of: | ||||||||
| public static native void | nglGetInternalformativ(int target, int internalformat, int pname, int
the maximum number of values that may be written to params by the function bufSize, long params)Unsafe version of: |