Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GL42

extends GL41
Class Inheritance
Known Direct Subclasses
org.lwjgl.opengl.GL43
Imports
java.nio.*, org.lwjgl.system.*

The OpenGL functionality up to version 4.2. Includes the deprecated symbols of the Compatibility Profile.

OpenGL 4.2 implementations support revision 4.20 of the OpenGL Shading Language.

Extensions promoted to core in this release:

Field Summary

Modifier and TypeField and Description
public static final int
GL_ACTIVE_ATOMIC_COUNTER_BUFFERS

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_ALL_BARRIER_BITS

Accepted by the barriers parameter of MemoryBarrier.

public static final int
GL_ATOMIC_COUNTER_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
GL_ATOMIC_COUNTER_BUFFER

Accepted by the target parameter of BindBufferBase and BindBufferRange.

public static final int
GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES

Accepted by the pname parameter of GetActiveAtomicCounterBufferiv.

public static final int
GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS

Accepted by the pname parameter of GetActiveAtomicCounterBufferiv.

public static final int
GL_ATOMIC_COUNTER_BUFFER_BINDING

Accepted by the pname parameter of GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, GetInteger64i_v, GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev, and GetActiveAtomicCounterBufferiv.

public static final int
GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE

Accepted by the pname parameter of GetActiveAtomicCounterBufferiv.

public static final int
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER

Accepted by the pname parameter of GetActiveAtomicCounterBufferiv.

public static final int
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER

Accepted by the pname parameter of GetActiveAtomicCounterBufferiv.

public static final int
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER

Accepted by the pname parameter of GetActiveAtomicCounterBufferiv.

public static final int
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER

Accepted by the pname parameter of GetActiveAtomicCounterBufferiv.

public static final int
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER

Accepted by the pname parameter of GetActiveAtomicCounterBufferiv.

public static final int
GL_ATOMIC_COUNTER_BUFFER_SIZE

Accepted by the pname parameter of GetIntegeri_64v.

public static final int
GL_ATOMIC_COUNTER_BUFFER_START

Accepted by the pname parameter of GetIntegeri_64v.

public static final int
GL_BUFFER_UPDATE_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
GL_COMMAND_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT

Accepted by the internalformat parameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.

public static final int
GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT

Accepted by the internalformat parameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.

public static final int
GL_COMPRESSED_RGBA_BPTC_UNORM

Accepted by the internalformat parameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.

public static final int
GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM

Accepted by the internalformat parameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2D, and CompressedTexImage3D and the format parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.

public static final int
public static final int
public static final int
GL_ELEMENT_ARRAY_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
GL_FRAMEBUFFER_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
GL_IMAGE_1D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_1D_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_2D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_2D_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_2D_MULTISAMPLE

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_2D_MULTISAMPLE_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_2D_RECT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_3D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_BINDING_ACCESS

Accepted by the target parameter of GetIntegeri_v and GetBooleani_v.

public static final int
GL_IMAGE_BINDING_FORMAT

Accepted by the target parameter of GetIntegeri_v and GetBooleani_v.

public static final int
GL_IMAGE_BINDING_LAYER

Accepted by the target parameter of GetIntegeri_v and GetBooleani_v.

public static final int
GL_IMAGE_BINDING_LAYERED

Accepted by the target parameter of GetIntegeri_v and GetBooleani_v.

public static final int
GL_IMAGE_BINDING_LEVEL

Accepted by the target parameter of GetIntegeri_v and GetBooleani_v.

public static final int
GL_IMAGE_BINDING_NAME

Accepted by the target parameter of GetIntegeri_v and GetBooleani_v.

public static final int
GL_IMAGE_BUFFER

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_CUBE

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_CUBE_MAP_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS

Returned in the data parameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv when value is IMAGE_FORMAT_COMPATIBILITY_TYPE.

public static final int
GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE

Returned in the data parameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv when value is IMAGE_FORMAT_COMPATIBILITY_TYPE.

public static final int
GL_IMAGE_FORMAT_COMPATIBILITY_TYPE

Accepted by the value parameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv.

public static final int
GL_INT_IMAGE_1D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_IMAGE_1D_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_IMAGE_2D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_IMAGE_2D_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_IMAGE_2D_MULTISAMPLE

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_IMAGE_2D_RECT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_IMAGE_3D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_IMAGE_BUFFER

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_IMAGE_CUBE

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_IMAGE_CUBE_MAP_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_COMBINED_ATOMIC_COUNTERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_COMBINED_IMAGE_UNIFORMS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_FRAGMENT_ATOMIC_COUNTERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_FRAGMENT_IMAGE_UNIFORMS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_GEOMETRY_ATOMIC_COUNTERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_GEOMETRY_IMAGE_UNIFORMS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_IMAGE_SAMPLES

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_IMAGE_UNITS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_VERTEX_ATOMIC_COUNTERS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_MAX_VERTEX_IMAGE_UNIFORMS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.

public static final int
GL_MIN_MAP_BUFFER_ALIGNMENT

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_NUM_SAMPLE_COUNTS

Accepted by the pname parameter of GetInternalformativ.

public static final int
GL_PACK_COMPRESSED_BLOCK_DEPTH

Accepted by the pname parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_PACK_COMPRESSED_BLOCK_HEIGHT

Accepted by the pname parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_PACK_COMPRESSED_BLOCK_SIZE

Accepted by the pname parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_PACK_COMPRESSED_BLOCK_WIDTH

Accepted by the pname parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_PIXEL_BUFFER_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
GL_SHADER_IMAGE_ACCESS_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
GL_TEXTURE_FETCH_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
GL_TEXTURE_IMMUTABLE_FORMAT

Accepted by the value parameter of GetTexParameter{if}v.

public static final int
GL_TEXTURE_UPDATE_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
public static final int
GL_TRANSFORM_FEEDBACK_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
public static final int
GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX

Accepted by the pname parameter of GetActiveUniformsiv.

public static final int
GL_UNIFORM_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

public static final int
GL_UNPACK_COMPRESSED_BLOCK_DEPTH

Accepted by the pname parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_UNPACK_COMPRESSED_BLOCK_HEIGHT

Accepted by the pname parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_UNPACK_COMPRESSED_BLOCK_SIZE

Accepted by the pname parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_UNPACK_COMPRESSED_BLOCK_WIDTH

Accepted by the pname parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.

public static final int
GL_UNSIGNED_INT_ATOMIC_COUNTER

Returned in params by GetActiveUniform and GetActiveUniformsiv.

public static final int
GL_UNSIGNED_INT_IMAGE_1D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_IMAGE_1D_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_IMAGE_2D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_IMAGE_2D_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_IMAGE_2D_RECT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_IMAGE_3D

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_IMAGE_BUFFER

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_IMAGE_CUBE

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY

Returned by the type parameter of GetActiveUniform.

public static final int
GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT

Accepted by the barriers parameter of MemoryBarrier.

Inherited from org.lwjgl.opengl.GL41:
GL_ACTIVE_PROGRAMGL_ALL_SHADER_BITSGL_FIXEDGL_FRAGMENT_SHADER_BITGL_GEOMETRY_SHADER_BITGL_HIGH_FLOATGL_HIGH_INTGL_IMPLEMENTATION_COLOR_READ_FORMATGL_IMPLEMENTATION_COLOR_READ_TYPEGL_LAYER_PROVOKING_VERTEXGL_LOW_FLOATGL_LOW_INTGL_MAX_FRAGMENT_UNIFORM_VECTORSGL_MAX_VARYING_VECTORSGL_MAX_VERTEX_UNIFORM_VECTORSGL_MAX_VIEWPORTSGL_MEDIUM_FLOATGL_MEDIUM_INTGL_NUM_PROGRAM_BINARY_FORMATSGL_NUM_SHADER_BINARY_FORMATSGL_PROGRAM_BINARY_FORMATSGL_PROGRAM_BINARY_LENGTHGL_PROGRAM_BINARY_RETRIEVABLE_HINTGL_PROGRAM_PIPELINE_BINDINGGL_PROGRAM_SEPARABLEGL_RGB565GL_SHADER_BINARY_FORMATSGL_SHADER_COMPILERGL_TESS_CONTROL_SHADER_BITGL_TESS_EVALUATION_SHADER_BITGL_UNDEFINED_VERTEXGL_VERTEX_SHADER_BITGL_VIEWPORT_BOUNDS_RANGEGL_VIEWPORT_INDEX_PROVOKING_VERTEXGL_VIEWPORT_SUBPIXEL_BITS

Constructor Summary

AccessConstructor and Description
protected
GL42()

Method Summary

Modifier and TypeMethod and Description
public static 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 layered is false, specifies the layer of texture to be bound to the image unit. Ignored otherwise.
layer
,
int
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 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
the type of the values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_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
the type of the values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_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
the type of the values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_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 indices when choosing elements from the enabled vertex arrays
basevertex
,
int
the 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
the type of the values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_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 indices when choosing elements from the enabled vertex arrays
basevertex
,
int
the 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 indices when choosing elements from the enabled vertex arrays
basevertex
,
int
the 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 indices when choosing elements from the enabled vertex arrays
basevertex
,
int
the 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 indices when choosing elements from the enabled vertex arrays
basevertex
,
int
the 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
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 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
public static void
glGetActiveAtomicCounterBufferiv(int
the name of a program object for which the command LinkProgram has been issued in the past
program
,
int
the index of an active atomic counter buffer
bufferIndex
,
int 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: GetActiveAtomicCounterBufferiv

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: GetInternalformativ

public static void
public static void
glTexStorage1D(int
the target of the operation. One of:
TEXTURE_1DPROXY_TEXTURE_1D
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 void
glTexStorage2D(int 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 void
glTexStorage3D(int 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 void
nglDrawElementsInstancedBaseInstance(int mode, int
the number of elements to be rendered
count
,
int
the type of the values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
long indices, int primcount, int baseinstance)

Unsafe version of: DrawElementsInstancedBaseInstance

public static void
nglDrawElementsInstancedBaseVertexBaseInstance(int mode, int
the number of elements to be rendered
count
,
int
the type of the values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
long indices, int primcount, int basevertex, int baseinstance)

Unsafe version of: DrawElementsInstancedBaseVertexBaseInstance

public static void
nglGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, long params)

Unsafe version of: GetActiveAtomicCounterBufferiv

public static 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: GetInternalformativ

Inherited from org.lwjgl.opengl.GL41:
glActiveShaderProgramglBindProgramPipelineglClearDepthfglCreateShaderProgramvglCreateShaderProgramvglCreateShaderProgramvglDeleteProgramPipelinesglDeleteProgramPipelinesglDeleteProgramPipelinesglDepthRangeArrayvglDepthRangeArrayvglDepthRangefglDepthRangeIndexedglGenProgramPipelinesglGenProgramPipelinesglGenProgramPipelinesglGetDoubleiglGetDoublei_vglGetDoublei_vglGetFloatiglGetFloati_vglGetFloati_vglGetProgramBinaryglGetProgramBinaryglGetProgramPipelineiglGetProgramPipelineInfoLogglGetProgramPipelineInfoLogglGetProgramPipelineInfoLogglGetProgramPipelineInfoLogglGetProgramPipelineivglGetProgramPipelineivglGetShaderPrecisionFormatglGetShaderPrecisionFormatglGetShaderPrecisionFormatglGetVertexAttribLdvglGetVertexAttribLdvglIsProgramPipelineglProgramBinaryglProgramParameteriglProgramUniform1dglProgramUniform1dvglProgramUniform1dvglProgramUniform1fglProgramUniform1fvglProgramUniform1fvglProgramUniform1iglProgramUniform1ivglProgramUniform1ivglProgramUniform1uiglProgramUniform1uivglProgramUniform1uivglProgramUniform2dglProgramUniform2dvglProgramUniform2dvglProgramUniform2fglProgramUniform2fvglProgramUniform2fvglProgramUniform2iglProgramUniform2ivglProgramUniform2ivglProgramUniform2uiglProgramUniform2uivglProgramUniform2uivglProgramUniform3dglProgramUniform3dvglProgramUniform3dvglProgramUniform3fglProgramUniform3fvglProgramUniform3fvglProgramUniform3iglProgramUniform3ivglProgramUniform3ivglProgramUniform3uiglProgramUniform3uivglProgramUniform3uivglProgramUniform4dglProgramUniform4dvglProgramUniform4dvglProgramUniform4fglProgramUniform4fvglProgramUniform4fvglProgramUniform4iglProgramUniform4ivglProgramUniform4ivglProgramUniform4uiglProgramUniform4uivglProgramUniform4uivglProgramUniformMatrix2dvglProgramUniformMatrix2dvglProgramUniformMatrix2fvglProgramUniformMatrix2fvglProgramUniformMatrix2x3dvglProgramUniformMatrix2x3dvglProgramUniformMatrix2x3fvglProgramUniformMatrix2x3fvglProgramUniformMatrix2x4dvglProgramUniformMatrix2x4dvglProgramUniformMatrix2x4fvglProgramUniformMatrix2x4fvglProgramUniformMatrix3dvglProgramUniformMatrix3dvglProgramUniformMatrix3fvglProgramUniformMatrix3fvglProgramUniformMatrix3x2dvglProgramUniformMatrix3x2dvglProgramUniformMatrix3x2fvglProgramUniformMatrix3x2fvglProgramUniformMatrix3x4dvglProgramUniformMatrix3x4dvglProgramUniformMatrix3x4fvglProgramUniformMatrix3x4fvglProgramUniformMatrix4dvglProgramUniformMatrix4dvglProgramUniformMatrix4fvglProgramUniformMatrix4fvglProgramUniformMatrix4x2dvglProgramUniformMatrix4x2dvglProgramUniformMatrix4x2fvglProgramUniformMatrix4x2fvglProgramUniformMatrix4x3dvglProgramUniformMatrix4x3dvglProgramUniformMatrix4x3fvglProgramUniformMatrix4x3fvglReleaseShaderCompilerglScissorArrayvglScissorArrayvglScissorIndexedglScissorIndexedvglScissorIndexedvglShaderBinaryglShaderBinaryglUseProgramStagesglValidateProgramPipelineglVertexAttribL1dglVertexAttribL1dvglVertexAttribL1dvglVertexAttribL2dglVertexAttribL2dvglVertexAttribL2dvglVertexAttribL3dglVertexAttribL3dvglVertexAttribL3dvglVertexAttribL4dglVertexAttribL4dvglVertexAttribL4dvglVertexAttribLPointerglVertexAttribLPointerglVertexAttribLPointerglViewportArrayvglViewportArrayvglViewportIndexedfglViewportIndexedfvglViewportIndexedfvnglCreateShaderProgramvnglDeleteProgramPipelinesnglDepthRangeArrayvnglGenProgramPipelinesnglGetDoublei_vnglGetFloati_vnglGetProgramBinarynglGetProgramPipelineInfoLognglGetProgramPipelineivnglGetShaderPrecisionFormatnglGetVertexAttribLdvnglProgramBinarynglProgramUniform1dvnglProgramUniform1fvnglProgramUniform1ivnglProgramUniform1uivnglProgramUniform2dvnglProgramUniform2fvnglProgramUniform2ivnglProgramUniform2uivnglProgramUniform3dvnglProgramUniform3fvnglProgramUniform3ivnglProgramUniform3uivnglProgramUniform4dvnglProgramUniform4fvnglProgramUniform4ivnglProgramUniform4uivnglProgramUniformMatrix2dvnglProgramUniformMatrix2fvnglProgramUniformMatrix2x3dvnglProgramUniformMatrix2x3fvnglProgramUniformMatrix2x4dvnglProgramUniformMatrix2x4fvnglProgramUniformMatrix3dvnglProgramUniformMatrix3fvnglProgramUniformMatrix3x2dvnglProgramUniformMatrix3x2fvnglProgramUniformMatrix3x4dvnglProgramUniformMatrix3x4fvnglProgramUniformMatrix4dvnglProgramUniformMatrix4fvnglProgramUniformMatrix4x2dvnglProgramUniformMatrix4x2fvnglProgramUniformMatrix4x3dvnglProgramUniformMatrix4x3fvnglScissorArrayvnglScissorIndexedvnglShaderBinarynglVertexAttribL1dvnglVertexAttribL2dvnglVertexAttribL3dvnglVertexAttribL4dvnglVertexAttribLPointernglViewportArrayvnglViewportIndexedfv