Package org.lwjgl.opengl
Class GL42
- java.lang.Object
-
- org.lwjgl.opengl.GL42
-
public class GL42 extends java.lang.Object
The core OpenGL 4.2 functionality. OpenGL 4.2 implementations support revision 4.20 of the OpenGL Shading Language.Extensions promoted to core in this release:
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_ACTIVE_ATOMIC_COUNTER_BUFFERS
Accepted by thepname
parameter of GetProgramiv.static int
GL_ALL_BARRIER_BITS
GL_ATOMIC_COUNTER_BARRIER_BITAccepted by thebarriers
parameter of MemoryBarrier.static int
GL_ATOMIC_COUNTER_BUFFER
Accepted by thetarget
parameter of BindBufferBase and BindBufferRange.static int
GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES
GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERSAccepted by thepname
parameter of GetActiveAtomicCounterBufferiv.static int
GL_ATOMIC_COUNTER_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, GetInteger64i_v, GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev, and GetActiveAtomicCounterBufferiv.static int
GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER
GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADERAccepted by thepname
parameter of GetActiveAtomicCounterBufferiv.static int
GL_ATOMIC_COUNTER_BUFFER_SIZE
GL_ATOMIC_COUNTER_BUFFER_STARTAccepted by thepname
parameter of GetIntegeri_64v.static int
GL_BUFFER_UPDATE_BARRIER_BIT
GL_COMMAND_BARRIER_BITAccepted by thebarriers
parameter of MemoryBarrier.static int
GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT
GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT
GL_COMPRESSED_RGBA_BPTC_UNORM
GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORMAccepted by theinternalformat
parameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2D, and CompressedTexImage3D and theformat
parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.static int
GL_COPY_READ_BUFFER_BINDING
GL_COPY_WRITE_BUFFER_BINDINGRenamed tokens.static int
GL_ELEMENT_ARRAY_BARRIER_BIT
GL_FRAMEBUFFER_BARRIER_BITAccepted by thebarriers
parameter of MemoryBarrier.static int
GL_IMAGE_1D
GL_IMAGE_1D_ARRAY
GL_IMAGE_2D
GL_IMAGE_2D_ARRAY
GL_IMAGE_2D_MULTISAMPLE
GL_IMAGE_2D_MULTISAMPLE_ARRAY
GL_IMAGE_2D_RECT
GL_IMAGE_3DReturned by thetype
parameter of GetActiveUniform.static int
GL_IMAGE_BINDING_ACCESS
GL_IMAGE_BINDING_FORMAT
GL_IMAGE_BINDING_LAYER
GL_IMAGE_BINDING_LAYERED
GL_IMAGE_BINDING_LEVEL
GL_IMAGE_BINDING_NAMEAccepted by thetarget
parameter of GetIntegeri_v and GetBooleani_v.static int
GL_IMAGE_BUFFER
GL_IMAGE_CUBE
GL_IMAGE_CUBE_MAP_ARRAYReturned by thetype
parameter of GetActiveUniform.static int
GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS
GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZEReturned in thedata
parameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv whenvalue
is IMAGE_FORMAT_COMPATIBILITY_TYPE.static int
GL_IMAGE_FORMAT_COMPATIBILITY_TYPE
Accepted by thevalue
parameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv.static int
GL_INT_IMAGE_1D
GL_INT_IMAGE_1D_ARRAY
GL_INT_IMAGE_2D
GL_INT_IMAGE_2D_ARRAY
GL_INT_IMAGE_2D_MULTISAMPLE
GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY
GL_INT_IMAGE_2D_RECT
GL_INT_IMAGE_3D
GL_INT_IMAGE_BUFFER
GL_INT_IMAGE_CUBE
GL_INT_IMAGE_CUBE_MAP_ARRAYReturned by thetype
parameter of GetActiveUniform.static int
GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS
GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE
GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS
GL_MAX_COMBINED_ATOMIC_COUNTERSAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_COMBINED_IMAGE_UNIFORMS
GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTSAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static int
GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS
GL_MAX_FRAGMENT_ATOMIC_COUNTERSAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_FRAGMENT_IMAGE_UNIFORMS
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static int
GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS
GL_MAX_GEOMETRY_ATOMIC_COUNTERSAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_GEOMETRY_IMAGE_UNIFORMS
GL_MAX_IMAGE_SAMPLES
GL_MAX_IMAGE_UNITSAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static int
GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS
GL_MAX_TESS_CONTROL_ATOMIC_COUNTERSAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static int
GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS
GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERSAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static int
GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS
GL_MAX_VERTEX_ATOMIC_COUNTERSAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_MAX_VERTEX_IMAGE_UNIFORMS
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.static int
GL_MIN_MAP_BUFFER_ALIGNMENT
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_NUM_SAMPLE_COUNTS
Accepted by thepname
parameter of GetInternalformativ.static int
GL_PACK_COMPRESSED_BLOCK_DEPTH
GL_PACK_COMPRESSED_BLOCK_HEIGHT
GL_PACK_COMPRESSED_BLOCK_SIZE
GL_PACK_COMPRESSED_BLOCK_WIDTHAccepted by thepname
parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_PIXEL_BUFFER_BARRIER_BIT
GL_SHADER_IMAGE_ACCESS_BARRIER_BIT
GL_TEXTURE_FETCH_BARRIER_BITAccepted by thebarriers
parameter of MemoryBarrier.static int
GL_TEXTURE_IMMUTABLE_FORMAT
Accepted by thevalue
parameter of GetTexParameter{if}v.static int
GL_TEXTURE_UPDATE_BARRIER_BIT
Accepted by thebarriers
parameter of MemoryBarrier.static int
GL_TRANSFORM_FEEDBACK_ACTIVE
Renamed tokens.static int
GL_TRANSFORM_FEEDBACK_BARRIER_BIT
Accepted by thebarriers
parameter of MemoryBarrier.static int
GL_TRANSFORM_FEEDBACK_PAUSED
Renamed tokens.static int
GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX
Accepted by thepname
parameter of GetActiveUniformsiv.static int
GL_UNIFORM_BARRIER_BIT
Accepted by thebarriers
parameter of MemoryBarrier.static int
GL_UNPACK_COMPRESSED_BLOCK_DEPTH
GL_UNPACK_COMPRESSED_BLOCK_HEIGHT
GL_UNPACK_COMPRESSED_BLOCK_SIZE
GL_UNPACK_COMPRESSED_BLOCK_WIDTHAccepted by thepname
parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.static int
GL_UNSIGNED_INT_ATOMIC_COUNTER
Returned inparams
by GetActiveUniform and GetActiveUniformsiv.static int
GL_UNSIGNED_INT_IMAGE_1D
GL_UNSIGNED_INT_IMAGE_1D_ARRAY
GL_UNSIGNED_INT_IMAGE_2D
GL_UNSIGNED_INT_IMAGE_2D_ARRAY
GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE
GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY
GL_UNSIGNED_INT_IMAGE_2D_RECT
GL_UNSIGNED_INT_IMAGE_3D
GL_UNSIGNED_INT_IMAGE_BUFFER
GL_UNSIGNED_INT_IMAGE_CUBE
GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAYReturned by thetype
parameter of GetActiveUniform.static int
GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT
Accepted by thebarriers
parameter of MemoryBarrier.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
glBindImageTexture(int unit, int texture, int level, boolean layered, int layer, int access, int format)
static void
glDrawArraysInstancedBaseInstance(int mode, int first, int count, int primcount, int baseinstance)
static void
glDrawElementsInstancedBaseInstance(int mode, java.nio.ByteBuffer indices, int primcount, int baseinstance)
static void
glDrawElementsInstancedBaseInstance(int mode, java.nio.IntBuffer indices, int primcount, int baseinstance)
static void
glDrawElementsInstancedBaseInstance(int mode, int type, java.nio.ByteBuffer indices, int primcount, int baseinstance)
static void
glDrawElementsInstancedBaseInstance(int mode, int count, int type, long indices, int primcount, int baseinstance)
static void
glDrawElementsInstancedBaseInstance(int mode, java.nio.ShortBuffer indices, int primcount, int baseinstance)
static void
glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ByteBuffer indices, int primcount, int basevertex, int baseinstance)
static void
glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.IntBuffer indices, int primcount, int basevertex, int baseinstance)
static void
glDrawElementsInstancedBaseVertexBaseInstance(int mode, int type, java.nio.ByteBuffer indices, int primcount, int basevertex, int baseinstance)
static void
glDrawElementsInstancedBaseVertexBaseInstance(int mode, int count, int type, long indices, int primcount, int basevertex, int baseinstance)
static void
glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ShortBuffer indices, int primcount, int basevertex, int baseinstance)
static void
glDrawTransformFeedbackInstanced(int mode, int id, int primcount)
static void
glDrawTransformFeedbackStreamInstanced(int mode, int id, int stream, int primcount)
static int
glGetActiveAtomicCounterBufferi(int program, int bufferIndex, int pname)
static void
glGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, int[] params)
static void
glGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, java.nio.IntBuffer params)
static int
glGetInternalformati(int target, int internalformat, int pname)
static void
glGetInternalformativ(int target, int internalformat, int pname, int[] params)
static void
glGetInternalformativ(int target, int internalformat, int pname, java.nio.IntBuffer params)
static void
glMemoryBarrier(int barriers)
static void
glTexStorage1D(int target, int levels, int internalformat, int width)
static void
glTexStorage2D(int target, int levels, int internalformat, int width, int height)
static void
glTexStorage3D(int target, int levels, int internalformat, int width, int height, int depth)
-
-
-
Field Detail
-
GL_COPY_READ_BUFFER_BINDING, GL_COPY_WRITE_BUFFER_BINDING, GL_TRANSFORM_FEEDBACK_ACTIVE, GL_TRANSFORM_FEEDBACK_PAUSED
Renamed tokens.
-
GL_COMPRESSED_RGBA_BPTC_UNORM, GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM, GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT, GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT
Accepted by theinternalformat
parameter of TexImage2D, TexImage3D, CopyTexImage2D, CopyTexImage3D, CompressedTexImage2D, and CompressedTexImage3D and theformat
parameter of CompressedTexSubImage2D and CompressedTexSubImage3D.
-
GL_UNPACK_COMPRESSED_BLOCK_WIDTH, GL_UNPACK_COMPRESSED_BLOCK_HEIGHT, GL_UNPACK_COMPRESSED_BLOCK_DEPTH, GL_UNPACK_COMPRESSED_BLOCK_SIZE, GL_PACK_COMPRESSED_BLOCK_WIDTH, GL_PACK_COMPRESSED_BLOCK_HEIGHT, GL_PACK_COMPRESSED_BLOCK_DEPTH, GL_PACK_COMPRESSED_BLOCK_SIZE
Accepted by thepname
parameter of PixelStore[fi], GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
-
GL_ATOMIC_COUNTER_BUFFER
Accepted by thetarget
parameter of BindBufferBase and BindBufferRange.
-
GL_ATOMIC_COUNTER_BUFFER_BINDING
Accepted by thepname
parameter of GetBooleani_v, GetIntegeri_v, GetFloati_v, GetDoublei_v, GetInteger64i_v, GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, GetDoublev, and GetActiveAtomicCounterBufferiv.
-
GL_ATOMIC_COUNTER_BUFFER_START, GL_ATOMIC_COUNTER_BUFFER_SIZE
Accepted by thepname
parameter of GetIntegeri_64v.
-
GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE, GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS, GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES, GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER, GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER, GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER, GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER, GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER
Accepted by thepname
parameter of GetActiveAtomicCounterBufferiv.
-
GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS, GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS, GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS, GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS, GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS, GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS, GL_MAX_VERTEX_ATOMIC_COUNTERS, GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS, GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS, GL_MAX_GEOMETRY_ATOMIC_COUNTERS, GL_MAX_FRAGMENT_ATOMIC_COUNTERS, GL_MAX_COMBINED_ATOMIC_COUNTERS, GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE, GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
-
GL_ACTIVE_ATOMIC_COUNTER_BUFFERS
Accepted by thepname
parameter of GetProgramiv.
-
GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX
Accepted by thepname
parameter of GetActiveUniformsiv.
-
GL_UNSIGNED_INT_ATOMIC_COUNTER
Returned inparams
by GetActiveUniform and GetActiveUniformsiv.
-
GL_TEXTURE_IMMUTABLE_FORMAT
Accepted by thevalue
parameter of GetTexParameter{if}v.
-
GL_MAX_IMAGE_UNITS, GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS, GL_MAX_IMAGE_SAMPLES, GL_MAX_VERTEX_IMAGE_UNIFORMS, GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS, GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS, GL_MAX_GEOMETRY_IMAGE_UNIFORMS, GL_MAX_FRAGMENT_IMAGE_UNIFORMS, GL_MAX_COMBINED_IMAGE_UNIFORMS
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
-
GL_IMAGE_BINDING_NAME, GL_IMAGE_BINDING_LEVEL, GL_IMAGE_BINDING_LAYERED, GL_IMAGE_BINDING_LAYER, GL_IMAGE_BINDING_ACCESS, GL_IMAGE_BINDING_FORMAT
Accepted by thetarget
parameter of GetIntegeri_v and GetBooleani_v.
-
GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT, GL_ELEMENT_ARRAY_BARRIER_BIT, GL_UNIFORM_BARRIER_BIT, GL_TEXTURE_FETCH_BARRIER_BIT, GL_SHADER_IMAGE_ACCESS_BARRIER_BIT, GL_COMMAND_BARRIER_BIT, GL_PIXEL_BUFFER_BARRIER_BIT, GL_TEXTURE_UPDATE_BARRIER_BIT, GL_BUFFER_UPDATE_BARRIER_BIT, GL_FRAMEBUFFER_BARRIER_BIT, GL_TRANSFORM_FEEDBACK_BARRIER_BIT, GL_ATOMIC_COUNTER_BARRIER_BIT, GL_ALL_BARRIER_BITS
Accepted by thebarriers
parameter of MemoryBarrier.
-
GL_IMAGE_1D, GL_IMAGE_2D, GL_IMAGE_3D, GL_IMAGE_2D_RECT, GL_IMAGE_CUBE, GL_IMAGE_BUFFER, GL_IMAGE_1D_ARRAY, GL_IMAGE_2D_ARRAY, GL_IMAGE_CUBE_MAP_ARRAY, GL_IMAGE_2D_MULTISAMPLE, GL_IMAGE_2D_MULTISAMPLE_ARRAY, GL_INT_IMAGE_1D, GL_INT_IMAGE_2D, GL_INT_IMAGE_3D, GL_INT_IMAGE_2D_RECT, GL_INT_IMAGE_CUBE, GL_INT_IMAGE_BUFFER, GL_INT_IMAGE_1D_ARRAY, GL_INT_IMAGE_2D_ARRAY, GL_INT_IMAGE_CUBE_MAP_ARRAY, GL_INT_IMAGE_2D_MULTISAMPLE, GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY, GL_UNSIGNED_INT_IMAGE_1D, GL_UNSIGNED_INT_IMAGE_2D, GL_UNSIGNED_INT_IMAGE_3D, GL_UNSIGNED_INT_IMAGE_2D_RECT, GL_UNSIGNED_INT_IMAGE_CUBE, GL_UNSIGNED_INT_IMAGE_BUFFER, GL_UNSIGNED_INT_IMAGE_1D_ARRAY, GL_UNSIGNED_INT_IMAGE_2D_ARRAY, GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY, GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE, GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY
Returned by thetype
parameter of GetActiveUniform.
-
GL_IMAGE_FORMAT_COMPATIBILITY_TYPE
Accepted by thevalue
parameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv.
-
GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE, GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS
Returned in thedata
parameter of GetTexParameteriv, GetTexParameterfv, GetTexParameterIiv, and GetTexParameterIuiv whenvalue
is IMAGE_FORMAT_COMPATIBILITY_TYPE.
-
GL_NUM_SAMPLE_COUNTS
Accepted by thepname
parameter of GetInternalformativ.
-
GL_MIN_MAP_BUFFER_ALIGNMENT
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev.
-
-
Method Detail
-
glGetActiveAtomicCounterBufferiv
public static void glGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, java.nio.IntBuffer params)
Obtains information about the set of active atomic counter buffers for a program.- Parameters:
program
- the name of a program object for which the commandLinkProgram
has been issued in the pastbufferIndex
- the index of an active atomic counter bufferpname
- the parameter to query. One of:params
- a buffer in which to place the returned value
-
glGetActiveAtomicCounterBufferi
public static int glGetActiveAtomicCounterBufferi(int program, int bufferIndex, int pname)
Obtains information about the set of active atomic counter buffers for a program.- Parameters:
program
- the name of a program object for which the commandLinkProgram
has been issued in the pastbufferIndex
- the index of an active atomic counter bufferpname
- the parameter to query. One of:
-
glTexStorage1D
public static void glTexStorage1D(int target, int levels, int internalformat, int width)
Simultaneously specifies storage for all levels of a one-dimensional texture.- Parameters:
target
- the target of the operation. One of:TEXTURE_1D
PROXY_TEXTURE_1D
levels
- the number of texture levelsinternalformat
- the sized internal format to be used to store texture image datawidth
- the width of the texture, in texels
-
glTexStorage2D
public static void glTexStorage2D(int target, int levels, int internalformat, int width, int height)
Simultaneously specifies storage for all levels of a two-dimensional or one-dimensional array texture.- Parameters:
target
- the target of the operation. One of:TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
PROXY_TEXTURE_2D
PROXY_TEXTURE_1D_ARRAY
PROXY_TEXTURE_RECTANGLE
PROXY_TEXTURE_CUBE_MAP
levels
- the number of texture levelsinternalformat
- 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 texels
-
glTexStorage3D
public static void glTexStorage3D(int target, int levels, int internalformat, int width, int height, int depth)
Simultaneously specifies storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture.- Parameters:
target
- the target of the operation. One of:TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
PROXY_TEXTURE_3D
PROXY_TEXTURE_2D_ARRAY
PROXY_TEXTURE_CUBE_MAP_ARRAY
levels
- the number of texture levelsinternalformat
- 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 texels
-
glDrawTransformFeedbackInstanced
public static void glDrawTransformFeedbackInstanced(int mode, int id, int primcount)
Renders multiple instances of primitives using a count derived from a transform feedback object.- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
id
- the name of a transform feedback object from which to retrieve a primitive countprimcount
- the number of instances of the geometry to render
-
glDrawTransformFeedbackStreamInstanced
public static void glDrawTransformFeedbackStreamInstanced(int mode, int id, int stream, int primcount)
Renders multiple instances of primitives using a count derived from a specifed stream of a transform feedback object.- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
id
- the name of a transform feedback object from which to retrieve a primitive countstream
- the index of the transform feedback stream from which to retrieve a primitive countprimcount
- the number of instances of the geometry to render
-
glDrawArraysInstancedBaseInstance
public static void glDrawArraysInstancedBaseInstance(int mode, int first, int count, int primcount, int baseinstance)
Draws multiple instances of a range of elements with an offset applied to instanced attributes.- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
first
- the starting index in the enabled arrayscount
- the number of indices to be renderedprimcount
- the number of instances of the specified range of indices to be renderedbaseinstance
- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseInstance
public static void glDrawElementsInstancedBaseInstance(int mode, int count, int type, long indices, int primcount, int baseinstance)
Draws multiple instances of a set of elements with an offset applied to instanced attributes- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
count
- the number of elements to be renderedtype
- the type of the values inindices
. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
indices
- a pointer to the location where the indices are storedprimcount
- the number of instances of the specified range of indices to be renderedbaseinstance
- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseInstance
public static void glDrawElementsInstancedBaseInstance(int mode, int type, java.nio.ByteBuffer indices, int primcount, int baseinstance)
Draws multiple instances of a set of elements with an offset applied to instanced attributes- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
type
- the type of the values inindices
. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
indices
- a pointer to the location where the indices are storedprimcount
- the number of instances of the specified range of indices to be renderedbaseinstance
- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseInstance
public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.ByteBuffer indices, int primcount, int baseinstance) public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.ShortBuffer indices, int primcount, int baseinstance) public static void glDrawElementsInstancedBaseInstance(int mode, java.nio.IntBuffer indices, int primcount, int baseinstance)
Draws multiple instances of a set of elements with an offset applied to instanced attributes- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
indices
- a pointer to the location where the indices are storedprimcount
- the number of instances of the specified range of indices to be renderedbaseinstance
- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseVertexBaseInstance
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, int count, int type, long indices, int primcount, int basevertex, int baseinstance)
Renders multiple instances of a set of primitives from array data with a per-element offset.- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
count
- the number of elements to be renderedtype
- the type of the values inindices
. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
indices
- a pointer to the location where the indices are storedprimcount
- the number of instances of the indexed geometry that should be drawnbasevertex
- a constant that should be added to each element ofindices
when choosing elements from the enabled vertex arraysbaseinstance
- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseVertexBaseInstance
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, int type, java.nio.ByteBuffer indices, int primcount, int basevertex, int baseinstance)
Renders multiple instances of a set of primitives from array data with a per-element offset.- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
type
- the type of the values inindices
. One of:UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
indices
- a pointer to the location where the indices are storedprimcount
- the number of instances of the indexed geometry that should be drawnbasevertex
- a constant that should be added to each element ofindices
when choosing elements from the enabled vertex arraysbaseinstance
- the base instance for use in fetching instanced vertex attributes
-
glDrawElementsInstancedBaseVertexBaseInstance
public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ByteBuffer indices, int primcount, int basevertex, int baseinstance) public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.ShortBuffer indices, int primcount, int basevertex, int baseinstance) public static void glDrawElementsInstancedBaseVertexBaseInstance(int mode, java.nio.IntBuffer indices, int primcount, int basevertex, int baseinstance)
Renders multiple instances of a set of primitives from array data with a per-element offset.- Parameters:
mode
- what kind of primitives to render. One of:POINTS
LINE_STRIP
LINE_LOOP
LINES
POLYGON
TRIANGLE_STRIP
TRIANGLE_FAN
TRIANGLES
QUAD_STRIP
QUADS
LINES_ADJACENCY
LINE_STRIP_ADJACENCY
TRIANGLES_ADJACENCY
TRIANGLE_STRIP_ADJACENCY
PATCHES
indices
- a pointer to the location where the indices are storedprimcount
- the number of instances of the indexed geometry that should be drawnbasevertex
- a constant that should be added to each element ofindices
when choosing elements from the enabled vertex arraysbaseinstance
- the base instance for use in fetching instanced vertex attributes
-
glBindImageTexture
public static void glBindImageTexture(int unit, int texture, int level, boolean layered, int layer, int access, int format)
Binds a level of a texture to an image unit.- Parameters:
unit
- the index of the image unit to which to bind the texturetexture
- the name of the texture to bind to the image unitlevel
- the level of the texture that is to be boundlayered
- whether a layered texture binding is to be establishedlayer
- iflayered
is false, specifies the layer of texture to be bound to the image unit. Ignored otherwise.access
- a token indicating the type of access that will be performed on the imageformat
- the format that the elements of the image will be treated as for the purposes of formatted stores
-
glMemoryBarrier
public static void glMemoryBarrier(int barriers)
Defines a barrier ordering memory transactions.- Parameters:
barriers
- the barriers to insert (bitwise combination). One or more of:
-
glGetInternalformativ
public static void glGetInternalformativ(int target, int internalformat, int pname, java.nio.IntBuffer params)
Retrieves information about implementation-dependent support for internal formats.- Parameters:
target
- the usage of the internal format. One of:TEXTURE_1D
TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
RENDERBUFFER
TEXTURE_BUFFER
TEXTURE_2D_MULTISAMPLE
TEXTURE_2D_MULTISAMPLE_ARRAY
internalformat
- the internal format about which to retrieve informationpname
- the type of information to queryparams
- a variable into which to write the retrieved information
-
glGetInternalformati
public static int glGetInternalformati(int target, int internalformat, int pname)
Retrieves information about implementation-dependent support for internal formats.- Parameters:
target
- the usage of the internal format. One of:TEXTURE_1D
TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
RENDERBUFFER
TEXTURE_BUFFER
TEXTURE_2D_MULTISAMPLE
TEXTURE_2D_MULTISAMPLE_ARRAY
internalformat
- the internal format about which to retrieve informationpname
- the type of information to query
-
glGetActiveAtomicCounterBufferiv
public static void glGetActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, int[] params)
Array version of:GetActiveAtomicCounterBufferiv
-
glGetInternalformativ
public static void glGetInternalformativ(int target, int internalformat, int pname, int[] params)
Array version of:GetInternalformativ
-
-