Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class ARBDirectStateAccess

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Native bindings to the ARB_direct_state_access extension.

In unextended OpenGL, most mutation of state contained in objects is through an indirection known as a binding. Objects are attached to a context (either directly or indirectly via a container) and then commands to modify or query their state are issued on that context, indirecting through its attachments and into the underlying object. This is known as `bind-to-edit'.

This extension derives from the GL_EXT_direct_state_access extension, which added accessors for most state on most objects, allowing it to be queried and modified without the object needing to be bound to a context. In cases where a single property of an object is to be modified, directly accessing its state can be more efficient than binding the object to the context and then indirecting through it. Further, directly accessing the state of objects through their names rather than by bind-to-edit does not disturb the bindings of the current context, which is useful for tools, middleware and other applications that are unaware of the outer state but it can also avoid cases of redundant state changes.

Requires OpenGL 2.0. Promoted to core in OpenGL 4.5.

Field Summary

Modifier and TypeField and Description
public static final int
GL_QUERY_TARGET

Accepted by the pname parameter of GetQueryObjectiv.

public static final int
GL_TEXTURE_TARGET

Accepted by the pname parameter of GetTextureParameter{if}v and GetTextureParameterI{i ui}v.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glBindTextureUnit(int
the texture unit number
unit
,
int
the texture name
texture
)

Binds an existing texture object to the texture unit numbered unit.

public static void
glBlitNamedFramebuffer(int
the source framebuffer name
readFramebuffer
,
int
the destination framebuffer name
drawFramebuffer
,
int
the lower-left coordinate of the source rectangle within the read buffer
srcX0
,
int
the upper-left coordinate of the source rectangle within the read buffer
srcY0
,
int
the lower-right coordinate of the source rectangle within the read buffer
srcX1
,
int
the upper-right coordinate of the source rectangle within the read buffer
srcY1
,
int
the lower-left coordinate of the destination rectangle within the write buffer
dstX0
,
int
the upper-left coordinate of the destination rectangle within the write buffer
dstY0
,
int
the lower-right coordinate of the destination rectangle within the write buffer
dstX1
,
int
the upper-right coordinate of the destination rectangle within the write buffer
dstY1
,
int
the bitwise OR of the flags indicating which buffers are to be copied. One of:
COLOR_BUFFER_BITDEPTH_BUFFER_BITSTENCIL_BUFFER_BIT
mask
,
int
the interpolation to be applied if the image is stretched. One of:
NEARESTLINEAR
filter
)

DSA version of BlitFramebuffer.

public static int
glCheckNamedFramebufferStatus(int
the framebuffer name
framebuffer
,
int
the target of the framebuffer completeness check. One of:
FRAMEBUFFERREAD_FRAMEBUFFERDRAW_FRAMEBUFFER
target
)

DSA version of CheckFramebufferStatus.

public static void
glClearNamedBufferData(int
the buffer object name
buffer
,
int
the internal format with which the data will be stored in the buffer object
internalformat
,
int format, int type, ByteBuffer
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 is NULL, then it is ignored and the sub-range of the buffer is filled with zeros.
data
)

DSA version of ClearBufferData.

public static void
glClearNamedBufferData(int
the buffer object name
buffer
,
int
the internal format with which the data will be stored in the buffer object
internalformat
,
int format, int type, ShortBuffer
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 is NULL, then it is ignored and the sub-range of the buffer is filled with zeros.
data
)

DSA version of ClearBufferData.

public static void
glClearNamedBufferData(int
the buffer object name
buffer
,
int
the internal format with which the data will be stored in the buffer object
internalformat
,
int format, int type, IntBuffer
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 is NULL, then it is ignored and the sub-range of the buffer is filled with zeros.
data
)

DSA version of ClearBufferData.

public static void
glClearNamedBufferData(int
the buffer object name
buffer
,
int
the internal format with which the data will be stored in the buffer object
internalformat
,
int format, int type, FloatBuffer
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 is NULL, then it is ignored and the sub-range of the buffer is filled with zeros.
data
)

DSA version of ClearBufferData.

public static void
glClearNamedBufferData(int buffer, int internalformat, int format, int type, short[] data)

Array version of: ClearNamedBufferData

public static void
glClearNamedBufferData(int buffer, int internalformat, int format, int type, int[] data)

Array version of: ClearNamedBufferData

public static void
glClearNamedBufferData(int buffer, int internalformat, int format, int type, float[] data)

Array version of: ClearNamedBufferData

public static void
glClearNamedBufferSubData(int
the buffer object name
buffer
,
int
the internal format with which the data will be stored in the buffer object
internalformat
,
long
the offset, in basic machine units into the buffer object's data store at which to start filling
offset
,
long
the size, in basic machine units of the range of the data store to fill
size
,
int format, int type, ByteBuffer
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 is NULL, then it is ignored and the sub-range of the buffer is filled with zeros.
data
)

DSA version of ClearBufferSubData.

public static void
glClearNamedBufferSubData(int
the buffer object name
buffer
,
int
the internal format with which the data will be stored in the buffer object
internalformat
,
long
the offset, in basic machine units into the buffer object's data store at which to start filling
offset
,
long
the size, in basic machine units of the range of the data store to fill
size
,
int format, int type, ShortBuffer
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 is NULL, then it is ignored and the sub-range of the buffer is filled with zeros.
data
)

DSA version of ClearBufferSubData.

public static void
glClearNamedBufferSubData(int
the buffer object name
buffer
,
int
the internal format with which the data will be stored in the buffer object
internalformat
,
long
the offset, in basic machine units into the buffer object's data store at which to start filling
offset
,
long
the size, in basic machine units of the range of the data store to fill
size
,
int format, int type, IntBuffer
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 is NULL, then it is ignored and the sub-range of the buffer is filled with zeros.
data
)

DSA version of ClearBufferSubData.

public static void
glClearNamedBufferSubData(int
the buffer object name
buffer
,
int
the internal format with which the data will be stored in the buffer object
internalformat
,
long
the offset, in basic machine units into the buffer object's data store at which to start filling
offset
,
long
the size, in basic machine units of the range of the data store to fill
size
,
int format, int type, FloatBuffer
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 is NULL, then it is ignored and the sub-range of the buffer is filled with zeros.
data
)

DSA version of ClearBufferSubData.

public static void
glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, short[] data)

Array version of: ClearNamedBufferSubData

public static void
glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, int[] data)

Array version of: ClearNamedBufferSubData

public static void
glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, float[] data)

Array version of: ClearNamedBufferSubData

public static void
glClearNamedFramebufferfi(int
the framebuffer name
framebuffer
,
int
the buffer to clear. Must be:
DEPTH_STENCIL
buffer
,
int
the draw buffer to clear
drawbuffer
,
float
the depth value to clear the buffer to
depth
,
int
the stencil value to clear the buffer to
stencil
)

DSA version of ClearBufferfi.

public static void
glClearNamedFramebufferfv(int
the framebuffer name
framebuffer
,
int
the buffer to clear. One of:
COLORDEPTH
buffer
,
int
the draw buffer to clear
drawbuffer
,
FloatBuffer
for color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For depth buffers, a pointer to a single depth value to clear the buffer to.
value
)

DSA version of ClearBufferfv.

public static void
glClearNamedFramebufferfv(int framebuffer, int buffer, int drawbuffer, float[] value)

Array version of: ClearNamedFramebufferfv

public static void
glClearNamedFramebufferiv(int
the framebuffer name
framebuffer
,
int
the buffer to clear. One of:
COLORSTENCIL
buffer
,
int
the draw buffer to clear
drawbuffer
,
IntBuffer
for color buffers, a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to. For stencil buffers, a pointer to a single stencil value to clear the buffer to.
value
)

DSA version of ClearBufferiv.

public static void
glClearNamedFramebufferiv(int framebuffer, int buffer, int drawbuffer, int[] value)

Array version of: ClearNamedFramebufferiv

public static void
glClearNamedFramebufferuiv(int
the framebuffer name
framebuffer
,
int
the buffer to clear. Must be:
COLOR
buffer
,
int
the draw buffer to clear
drawbuffer
,
IntBuffer
a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to
value
)

DSA version of ClearBufferuiv.

public static void
glClearNamedFramebufferuiv(int framebuffer, int buffer, int drawbuffer, int[] value)

Array version of: ClearNamedFramebufferuiv

public static void
glCompressedTextureSubImage1D(int
the texture name
texture
,
int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
the width of the texture subimage
width
,
int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long
a pointer to the compressed image data
data
)

DSA version of CompressedTexSubImage1D.

public static void
public static void
glCompressedTextureSubImage2D(int
the texture name
texture
,
int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
a texel offset in the y direction within the texture array
yoffset
,
int
the width of the texture subimage
width
,
int
the height of the texture subimage
height
,
int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long
a pointer to the compressed image data
data
)

DSA version of CompressedTexSubImage2D.

public static void
glCompressedTextureSubImage2D(int
the texture name
texture
,
int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
a texel offset in the y direction within the texture array
yoffset
,
int
the width of the texture subimage
width
,
int
the height of the texture subimage
height
,
int format, ByteBuffer
a pointer to the compressed image data
data
)

DSA version of CompressedTexSubImage2D.

public static void
glCompressedTextureSubImage3D(int
the texture name
texture
,
int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
a texel offset in the y direction within the texture array
yoffset
,
int
a texel offset in the z direction within the texture array
zoffset
,
int
the width of the texture subimage
width
,
int
the height of the texture subimage
height
,
int
the depth of the texture subimage
depth
,
int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long
a pointer to the compressed image data
data
)

DSA version of CompressedTexSubImage3D.

public static void
glCompressedTextureSubImage3D(int
the texture name
texture
,
int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
a texel offset in the x direction within the texture array
xoffset
,
int
a texel offset in the y direction within the texture array
yoffset
,
int
a texel offset in the z direction within the texture array
zoffset
,
int
the width of the texture subimage
width
,
int
the height of the texture subimage
height
,
int
the depth of the texture subimage
depth
,
int format, ByteBuffer
a pointer to the compressed image data
data
)

DSA version of CompressedTexSubImage3D.

public static void
glCopyNamedBufferSubData(int
the source buffer object name
readBuffer
,
int
the destination buffer object name
writeBuffer
,
long
the source buffer object offset, in bytes
readOffset
,
long
the destination buffer object offset, in bytes
writeOffset
,
long
the number of bytes to copy
size
)

DSA version of CopyBufferSubData.

public static void
glCopyTextureSubImage1D(int
the texture name
texture
,
int
the level-of-detail number
level
,
int
the left texel coordinate of the texture subregion to update
xoffset
,
int
the left framebuffer pixel coordinate
x
,
int
the lower framebuffer pixel coordinate
y
,
int
the texture subregion width
width
)

DSA version of CopyTexSubImage1D.

public static void
glCopyTextureSubImage2D(int
the texture name
texture
,
int
the level-of-detail number
level
,
int
the left texel coordinate of the texture subregion to update
xoffset
,
int
the lower texel coordinate of the texture subregion to update
yoffset
,
int
the left framebuffer pixel coordinate
x
,
int
the lower framebuffer pixel coordinate
y
,
int
the texture subregion width
width
,
int
the texture subregion height
height
)

DSA version of CopyTexSubImage2D.

public static void
glCopyTextureSubImage3D(int
the texture name
texture
,
int
the level-of-detail number
level
,
int
the x coordinate of the texture subregion to update
xoffset
,
int
the y coordinate of the texture subregion to update
yoffset
,
int
the z coordinate of the texture subregion to update
zoffset
,
int
the left framebuffer pixel coordinate
x
,
int
the lower framebuffer pixel coordinate
y
,
int
the texture subregion width
width
,
int
the texture subregion height
height
)

DSA version of CopyTexSubImage3D.

public static void
glCreateBuffers(IntBuffer
the buffer in which to return the names
buffers
)

Returns n previously unused buffer names in buffers, each representing a new buffer object initialized as if it had been bound to an unspecified target.

public static int
glCreateBuffers()

Returns n previously unused buffer names in buffers, each representing a new buffer object initialized as if it had been bound to an unspecified target.

public static void
glCreateBuffers(int[] buffers)

Array version of: CreateBuffers

public static void
glCreateFramebuffers(IntBuffer
the buffer in which to store the framebuffer names
framebuffers
)

Returns n previously unused framebuffer names in framebuffers, each representing a new framebuffer object.

public static int
glCreateFramebuffers()

Returns n previously unused framebuffer names in framebuffers, each representing a new framebuffer object.

public static void
glCreateFramebuffers(int[] framebuffers)

Array version of: CreateFramebuffers

public static void
glCreateProgramPipelines(IntBuffer
the buffer in which to return the created program pipeline names
pipelines
)

Returns n previously unused program pipeline names in pipelines, each representing a new program pipeline object.

public static int
glCreateProgramPipelines()

Returns n previously unused program pipeline names in pipelines, each representing a new program pipeline object.

public static void
glCreateProgramPipelines(int[] pipelines)

Array version of: CreateProgramPipelines

public static void
glCreateQueries(int target, IntBuffer
the buffer in which to return the created query object names
ids
)

Returns n previously unused query object names in ids, each representing a new query object with the specified target.

public static int
glCreateQueries(int target)

Returns n previously unused query object names in ids, each representing a new query object with the specified target.

public static void
glCreateQueries(int target, int[] ids)

Array version of: CreateQueries

public static void
glCreateRenderbuffers(IntBuffer
the buffer in which to store the created renderbuffer names
renderbuffers
)

Returns n previously unused renderbuffer names in renderbuffers, each representing a new renderbuffer object.

public static int
glCreateRenderbuffers()

Returns n previously unused renderbuffer names in renderbuffers, each representing a new renderbuffer object.

public static void
glCreateRenderbuffers(int[] renderbuffers)

Array version of: CreateRenderbuffers

public static void
glCreateSamplers(IntBuffer
the buffer in which to return the created sampler object names
samplers
)

Returns n previously unused sampler names in samplers, each representing a new sampler object.

public static int
glCreateSamplers()

Returns n previously unused sampler names in samplers, each representing a new sampler object.

public static void
glCreateSamplers(int[] samplers)

Array version of: CreateSamplers

public static void
glCreateTextures(int target, IntBuffer
the buffer in which to store the created texture names
textures
)

Returns n previously unused texture names in textures, each representing a new texture object.

public static int
glCreateTextures(int target)

Returns n previously unused texture names in textures, each representing a new texture object.

public static void
glCreateTextures(int target, int[] textures)

Array version of: CreateTextures

public static void
glCreateTransformFeedbacks(IntBuffer
the buffer in which to return the names
ids
)

Returns n previously unused transform feedback object names in ids, each representing a new state vector.

public static int
glCreateTransformFeedbacks()

Returns n previously unused transform feedback object names in ids, each representing a new state vector.

public static void
public static void
glCreateVertexArrays(IntBuffer
the buffer in which to return the created vertex array object names
arrays
)

Returns n previously unused vertex array object names in arrays.

public static int
glCreateVertexArrays()

Returns n previously unused vertex array object names in arrays.

public static void
glCreateVertexArrays(int[] arrays)

Array version of: CreateVertexArrays

public static void
glDisableVertexArrayAttrib(int
the vertex array object name
vaobj
,
int
the index of the generic vertex attribute to be disabled
index
)

DSA version of DisableVertexAttribArray.

public static void
glEnableVertexArrayAttrib(int
the vertex array object name
vaobj
,
int
the index of the generic vertex attribute to be enabled
index
)

DSA version of EnableVertexAttribArray.

public static void
glFlushMappedNamedBufferRange(int
the buffer object name
buffer
,
long
the start of the buffer subrange, in basic machine units
offset
,
long
the length of the buffer subrange, in basic machine units
length
)

DSA version of FlushMappedBufferRange.

public static void
glGenerateTextureMipmap(int
the texture name
texture
)

DSA version of GenerateMipmap.

public static void
glGetCompressedTextureImage(int
the texture name
texture
,
int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
int
the size of the buffer to receive the retrieved pixel data
bufSize
,
long
a buffer in which to return the compressed texture image
pixels
)

DSA version of GetCompressedTexImage.

public static void
glGetCompressedTextureImage(int
the texture name
texture
,
int
the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
level
,
ByteBuffer
a buffer in which to return the compressed texture image
pixels
)

DSA version of GetCompressedTexImage.

public static int
public static long
public static void
glGetNamedBufferParameteri64v(int
the buffer object name
buffer
,
int pname, LongBuffer
the requested parameter
params
)

DSA version of GetBufferParameteri64v.

public static void
glGetNamedBufferParameteri64v(int buffer, int pname, long[] params)

Array version of: GetNamedBufferParameteri64v

public static void
glGetNamedBufferParameteriv(int
the buffer object name
buffer
,
int pname, IntBuffer
the requested parameter
params
)

DSA version of GetBufferParameteriv.

public static void
glGetNamedBufferParameteriv(int buffer, int pname, int[] params)

Array version of: GetNamedBufferParameteriv

public static long
glGetNamedBufferPointer(int
the buffer object name
buffer
,
int
the pointer to be returned. Must be:
BUFFER_MAP_POINTER
pname
)

DSA version of GetBufferPointerv.

public static void
glGetNamedBufferPointerv(int
the buffer object name
buffer
,
int
the pointer to be returned. Must be:
BUFFER_MAP_POINTER
pname
,
PointerBuffer
the pointer value specified by pname
params
)

DSA version of GetBufferPointerv.

public static void
glGetNamedBufferSubData(int
the buffer object name
buffer
,
long
the offset into the buffer object's data store from which data will be returned, measured in bytes
offset
,
ByteBuffer
a pointer to the location where buffer object data is returned
data
)

DSA version of GetBufferSubData.

public static void
glGetNamedBufferSubData(int
the buffer object name
buffer
,
long
the offset into the buffer object's data store from which data will be returned, measured in bytes
offset
,
ShortBuffer
a pointer to the location where buffer object data is returned
data
)

DSA version of GetBufferSubData.

public static void
glGetNamedBufferSubData(int
the buffer object name
buffer
,
long
the offset into the buffer object's data store from which data will be returned, measured in bytes
offset
,
IntBuffer
a pointer to the location where buffer object data is returned
data
)

DSA version of GetBufferSubData.

public static void
glGetNamedBufferSubData(int
the buffer object name
buffer
,
long
the offset into the buffer object's data store from which data will be returned, measured in bytes
offset
,
LongBuffer
a pointer to the location where buffer object data is returned
data
)

DSA version of GetBufferSubData.

public static void
glGetNamedBufferSubData(int
the buffer object name
buffer
,
long
the offset into the buffer object's data store from which data will be returned, measured in bytes
offset
,
FloatBuffer
a pointer to the location where buffer object data is returned
data
)

DSA version of GetBufferSubData.

public static void
glGetNamedBufferSubData(int
the buffer object name
buffer
,
long
the offset into the buffer object's data store from which data will be returned, measured in bytes
offset
,
DoubleBuffer
a pointer to the location where buffer object data is returned
data
)

DSA version of GetBufferSubData.

public static void
glGetNamedBufferSubData(int buffer, long offset, short[] data)

Array version of: GetNamedBufferSubData

public static void
glGetNamedBufferSubData(int buffer, long offset, int[] data)

Array version of: GetNamedBufferSubData

public static void
glGetNamedBufferSubData(int buffer, long offset, long[] data)

Array version of: GetNamedBufferSubData

public static void
glGetNamedBufferSubData(int buffer, long offset, float[] data)

Array version of: GetNamedBufferSubData

public static void
glGetNamedBufferSubData(int buffer, long offset, double[] data)

Array version of: GetNamedBufferSubData

public static int
public static void
public static void
glGetNamedFramebufferAttachmentParameteriv(int framebuffer, int attachment, int pname, int[] params)

Array version of: GetNamedFramebufferAttachmentParameteriv

public static int
public static void
glGetNamedFramebufferParameteriv(int
the framebuffer name
framebuffer
,
int pname, IntBuffer
a variable to receive the value of the parameter named pname
params
)

DSA version of GetFramebufferParameteriv.

public static void
glGetNamedFramebufferParameteriv(int framebuffer, int pname, int[] params)

Array version of: GetNamedFramebufferParameteriv

public static int
public static void
public static void
glGetNamedRenderbufferParameteriv(int renderbuffer, int pname, int[] params)

Array version of: GetNamedRenderbufferParameteriv

public static void
glGetQueryBufferObjecti64v(int
the name of a query object
id
,
int
the name of a buffer object
buffer
,
int
the state to query
pname
,
long
the offset into buffer at which the queried value is written
offset
)

64bit version of GetQueryBufferObjectiv.

public static void
glGetQueryBufferObjectiv(int
the name of a query object
id
,
int
the name of a buffer object
buffer
,
int
the state to query
pname
,
long
the offset into buffer at which the queried value is written
offset
)

Queries the state of a query object.

public static void
glGetQueryBufferObjectui64v(int
the name of a query object
id
,
int
the name of a buffer object
buffer
,
int
the state to query
pname
,
long
the offset into buffer at which the queried value is written
offset
)

64bit version of GetQueryBufferObjectuiv.

public static void
glGetQueryBufferObjectuiv(int
the name of a query object
id
,
int
the name of a buffer object
buffer
,
int
the state to query
pname
,
long
the offset into buffer at which the queried value is written
offset
)

Unsigned version of GetQueryBufferObjectiv.

public static void
public static void
public static void
public static void
public static void
public static void
public static void
glGetTextureImage(int texture, int level, int format, int type, short[] pixels)

Array version of: GetTextureImage

public static void
glGetTextureImage(int texture, int level, int format, int type, int[] pixels)

Array version of: GetTextureImage

public static void
glGetTextureImage(int texture, int level, int format, int type, float[] pixels)

Array version of: GetTextureImage

public static void
glGetTextureImage(int texture, int level, int format, int type, double[] pixels)

Array version of: GetTextureImage

public static float
glGetTextureLevelParameterf(int
the texture name
texture
,
int
the level-of-detail number
level
,
int
the parameter to query
pname
)

DSA version of GetTexLevelParameterfv.

public static void
glGetTextureLevelParameterfv(int
the texture name
texture
,
int
the level-of-detail number
level
,
int
the parameter to query
pname
,
FloatBuffer
a scalar or buffer in which to place the returned data
params
)

DSA version of GetTexLevelParameterfv.

public static void
glGetTextureLevelParameterfv(int texture, int level, int pname, float[] params)

Array version of: GetTextureLevelParameterfv

public static int
public static void
public static void
glGetTextureLevelParameteriv(int texture, int level, int pname, int[] params)

Array version of: GetTextureLevelParameteriv

public static float
glGetTextureParameterf(int
the texture name
texture
,
int
the parameter to query
pname
)

DSA version of GetTexParameterfv.

public static void
glGetTextureParameterfv(int
the texture name
texture
,
int
the parameter to query
pname
,
FloatBuffer
a scalar or buffer in which to place the returned data
params
)

DSA version of GetTexParameterfv.

public static void
glGetTextureParameterfv(int texture, int pname, float[] params)

Array version of: GetTextureParameterfv

public static int
public static int
glGetTextureParameterIi(int
the texture name
texture
,
int
the symbolic name of a texture parameter
pname
)

DSA version of GetTexParameterIiv.

public static void
glGetTextureParameterIiv(int
the texture name
texture
,
int
the symbolic name of a texture parameter
pname
,
IntBuffer
returns the texture parameter value
params
)

DSA version of GetTexParameterIiv.

public static void
glGetTextureParameterIiv(int texture, int pname, int[] params)

Array version of: GetTextureParameterIiv

public static int
glGetTextureParameterIui(int
the texture name
texture
,
int
the symbolic name of a texture parameter
pname
)

DSA version of GetTexParameterIuiv.

public static void
glGetTextureParameterIuiv(int
the texture name
texture
,
int
the symbolic name of a texture parameter
pname
,
IntBuffer
returns the texture parameter value
params
)

DSA version of GetTexParameterIuiv.

public static void
glGetTextureParameterIuiv(int texture, int pname, int[] params)

Array version of: GetTextureParameterIuiv

public static void
public static void
glGetTextureParameteriv(int texture, int pname, int[] params)

Array version of: GetTextureParameteriv

public static int
glGetTransformFeedbacki(int
zero or the name of an existing transform feedback object
xfb
,
int pname)

Returns information about a transform feedback object.

public static int
glGetTransformFeedbacki(int
zero or the name of an existing transform feedback object
xfb
,
int
the parameter to query. Must be:
TRANSFORM_FEEDBACK_BUFFER_BINDING
pname
,
int
the transform feedback stream index
index
)

Returns information about a transform feedback object.

public static long
glGetTransformFeedbacki64(int
zero or the name of an existing transform feedback object
xfb
,
int pname, int
the transform feedback stream index
index
)

Returns information about a transform feedback object.

public static void
glGetTransformFeedbacki64_v(int
zero or the name of an existing transform feedback object
xfb
,
int pname, int
the transform feedback stream index
index
,
LongBuffer
the buffer in which to return the parameter value
param
)

Returns information about a transform feedback object.

public static void
glGetTransformFeedbacki64_v(int xfb, int pname, int index, long[] param)

Array version of: GetTransformFeedbacki64_v

public static void
glGetTransformFeedbacki_v(int
zero or the name of an existing transform feedback object
xfb
,
int
the parameter to query. Must be:
TRANSFORM_FEEDBACK_BUFFER_BINDING
pname
,
int
the transform feedback stream index
index
,
IntBuffer
the buffer in which to return the parameter value
param
)

Returns information about a transform feedback object.

public static void
glGetTransformFeedbacki_v(int xfb, int pname, int index, int[] param)

Array version of: GetTransformFeedbacki_v

public static void
glGetTransformFeedbackiv(int
zero or the name of an existing transform feedback object
xfb
,
int pname, IntBuffer
the buffer in which to return the parameter value
param
)

Returns information about a transform feedback object.

public static void
glGetTransformFeedbackiv(int xfb, int pname, int[] param)

Array version of: GetTransformFeedbackiv

public static int
glGetVertexArrayi(int
the vertex array object name
vaobj
,
int
the parameter to query. Must be:
ELEMENT_ARRAY_BUFFER_BINDING
pname
)

Queries parameters of a vertex array object.

public static long
glGetVertexArrayIndexed64i(int
the vertex array object name
vaobj
,
int
the attribute to query
index
,
int
the parameter to query. Must be:
VERTEX_BINDING_OFFSET
pname
)

Queries parameters of an attribute of a vertex array object.

public static void
glGetVertexArrayIndexed64iv(int
the vertex array object name
vaobj
,
int
the attribute to query
index
,
int
the parameter to query. Must be:
VERTEX_BINDING_OFFSET
pname
,
LongBuffer
the buffer in which to return the parameter values
param
)

Queries parameters of an attribute of a vertex array object.

public static void
glGetVertexArrayIndexed64iv(int vaobj, int index, int pname, long[] param)

Array version of: GetVertexArrayIndexed64iv

public static int
glGetVertexArrayIndexedi(int
the vertex array object name
vaobj
,
int
the attribute to query
index
,
int pname)

Queries parameters of an attribute of a vertex array object.

public static void
glGetVertexArrayIndexediv(int
the vertex array object name
vaobj
,
int
the attribute to query
index
,
int pname, IntBuffer
the buffer in which to return the parameter values
param
)

Queries parameters of an attribute of a vertex array object.

public static void
glGetVertexArrayIndexediv(int vaobj, int index, int pname, int[] param)

Array version of: GetVertexArrayIndexediv

public static void
glGetVertexArrayiv(int
the vertex array object name
vaobj
,
int
the parameter to query. Must be:
ELEMENT_ARRAY_BUFFER_BINDING
pname
,
IntBuffer
the buffer in which to return the parameter values
param
)

Queries parameters of a vertex array object.

public static void
glGetVertexArrayiv(int vaobj, int pname, int[] param)

Array version of: GetVertexArrayiv

public static void
glInvalidateNamedFramebufferData(int
the framebuffer name
framebuffer
,
IntBuffer
the address of an array identifying the attachments to be invalidated
attachments
)

DSA version of InvalidateFramebuffer.

public static void
glInvalidateNamedFramebufferData(int
the framebuffer name
framebuffer
,
int attachment)

DSA version of InvalidateFramebuffer.

public static void
glInvalidateNamedFramebufferData(int framebuffer, int[] attachments)

Array version of: InvalidateNamedFramebufferData

public static void
glInvalidateNamedFramebufferSubData(int
the framebuffer name
framebuffer
,
IntBuffer
an array identifying the attachments to be invalidated
attachments
,
int
the X offset of the region to be invalidated
x
,
int
the Y offset of the region to be invalidated
y
,
int
the width of the region to be invalidated
width
,
int
the height of the region to be invalidated
height
)

DSA version of InvalidateSubFramebuffer.

public static void
glInvalidateNamedFramebufferSubData(int
the framebuffer name
framebuffer
,
int attachment, int
the X offset of the region to be invalidated
x
,
int
the Y offset of the region to be invalidated
y
,
int
the width of the region to be invalidated
width
,
int
the height of the region to be invalidated
height
)

DSA version of InvalidateSubFramebuffer.

public static void
glInvalidateNamedFramebufferSubData(int framebuffer, int[] attachments, int x, int y, int width, int height)

Array version of: InvalidateNamedFramebufferSubData

public static ByteBuffer
glMapNamedBuffer(int
the buffer object name
buffer
,
int
the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. One of:
READ_ONLYWRITE_ONLYREAD_WRITE
access
)

DSA version of MapBuffer.

public static ByteBuffer
glMapNamedBuffer(int
the buffer object name
buffer
,
int
the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. One of:
READ_ONLYWRITE_ONLYREAD_WRITE
access
,
ByteBuffer old_buffer)

DSA version of MapBuffer.

public static ByteBuffer
glMapNamedBuffer(int
the buffer object name
buffer
,
int
the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. One of:
READ_ONLYWRITE_ONLYREAD_WRITE
access
,
long length, ByteBuffer old_buffer)

DSA version of MapBuffer.

public static ByteBuffer
glMapNamedBufferRange(int
the buffer object name
buffer
,
long
the starting offset within the buffer of the range to be mapped
offset
,
long
the length of the range to be mapped
length
,
int
a combination of access flags indicating the desired access to the range. One or more of:
MAP_READ_BITMAP_WRITE_BITMAP_INVALIDATE_RANGE_BITMAP_INVALIDATE_BUFFER_BIT
MAP_FLUSH_EXPLICIT_BITMAP_UNSYNCHRONIZED_BIT
access
)

DSA version of MapBufferRange.

public static ByteBuffer
glMapNamedBufferRange(int
the buffer object name
buffer
,
long
the starting offset within the buffer of the range to be mapped
offset
,
long
the length of the range to be mapped
length
,
int
a combination of access flags indicating the desired access to the range. One or more of:
MAP_READ_BITMAP_WRITE_BITMAP_INVALIDATE_RANGE_BITMAP_INVALIDATE_BUFFER_BIT
MAP_FLUSH_EXPLICIT_BITMAP_UNSYNCHRONIZED_BIT
access
,
ByteBuffer old_buffer)

DSA version of MapBufferRange.

public static void
glNamedBufferData(int buffer, long
the size in bytes of the buffer object's new data store
size
,
int usage)

DSA version of BufferData.

public static void
glNamedBufferData(int buffer, ByteBuffer
a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied
data
,
int usage)

DSA version of BufferData.

public static void
glNamedBufferData(int buffer, ShortBuffer
a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied
data
,
int usage)

DSA version of BufferData.

public static void
glNamedBufferData(int buffer, IntBuffer
a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied
data
,
int usage)

DSA version of BufferData.

public static void
glNamedBufferData(int buffer, LongBuffer
a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied
data
,
int usage)

DSA version of BufferData.

public static void
glNamedBufferData(int buffer, FloatBuffer
a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied
data
,
int usage)

DSA version of BufferData.

public static void
glNamedBufferData(int buffer, DoubleBuffer
a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied
data
,
int usage)

DSA version of BufferData.

public static void
glNamedBufferData(int buffer, short[] data, int usage)

Array version of: NamedBufferData

public static void
glNamedBufferData(int buffer, int[] data, int usage)

Array version of: NamedBufferData

public static void
glNamedBufferData(int buffer, long[] data, int usage)

Array version of: NamedBufferData

public static void
glNamedBufferData(int buffer, float[] data, int usage)

Array version of: NamedBufferData

public static void
glNamedBufferData(int buffer, double[] data, int usage)

Array version of: NamedBufferData

public static void
glNamedBufferStorage(int
the buffer object name
buffer
,
long
the size of the data store in basic machine units
size
,
int
the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings are as follows:
  • DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT. Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and ClearBufferSubData.
  • MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space obtained that may be read from.
  • MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address space obtained that may be written to.
  • MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
  • MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be immediately visible to the other with no further action taken by the application. In particular:
  • CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.

If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.

It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT.

flags
)

DSA version of BufferStorage.

public static void
glNamedBufferStorage(int
the buffer object name
buffer
,
ByteBuffer
the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units.
data
,
int
the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings are as follows:
  • DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT. Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and ClearBufferSubData.
  • MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space obtained that may be read from.
  • MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address space obtained that may be written to.
  • MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
  • MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be immediately visible to the other with no further action taken by the application. In particular:
  • CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.

If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.

It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT.

flags
)

DSA version of BufferStorage.

public static void
glNamedBufferStorage(int
the buffer object name
buffer
,
ShortBuffer
the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units.
data
,
int
the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings are as follows:
  • DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT. Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and ClearBufferSubData.
  • MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space obtained that may be read from.
  • MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address space obtained that may be written to.
  • MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
  • MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be immediately visible to the other with no further action taken by the application. In particular:
  • CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.

If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.

It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT.

flags
)

DSA version of BufferStorage.

public static void
glNamedBufferStorage(int
the buffer object name
buffer
,
IntBuffer
the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units.
data
,
int
the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings are as follows:
  • DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT. Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and ClearBufferSubData.
  • MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space obtained that may be read from.
  • MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address space obtained that may be written to.
  • MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
  • MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be immediately visible to the other with no further action taken by the application. In particular:
  • CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.

If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.

It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT.

flags
)

DSA version of BufferStorage.

public static void
glNamedBufferStorage(int
the buffer object name
buffer
,
FloatBuffer
the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units.
data
,
int
the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings are as follows:
  • DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT. Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and ClearBufferSubData.
  • MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space obtained that may be read from.
  • MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address space obtained that may be written to.
  • MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
  • MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be immediately visible to the other with no further action taken by the application. In particular:
  • CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.

If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.

It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT.

flags
)

DSA version of BufferStorage.

public static void
glNamedBufferStorage(int
the buffer object name
buffer
,
DoubleBuffer
the address in client memory of the data that should be used to initialize the buffer's data store. If data is NULL, the data store of the buffer is created, but contains undefined data. Otherwise, data should point to an array of at least size basic machine units.
data
,
int
the bitwise OR of flags describing the intended usage of the buffer object's data store by the application. Valid flags and their meanings are as follows:
  • DYNAMIC_STORAGE_BIT – The contents of the data store may be updated after creation through calls to BufferSubData. If this bit is not set, the buffer content may not be directly updated by the client. The data argument may be used to specify the initial content of the buffer's data store regardless of the presence of the DYNAMIC_STORAGE_BIT. Regardless of the presence of this bit, buffers may always be updated with server-side calls such as CopyBufferSubData and ClearBufferSubData.
  • MAP_READ_BIT – The buffer's data store may be mapped by the client for read access and a pointer in the client's address space obtained that may be read from.
  • MAP_WRITE_BIT – The buffer's data store may be mapped by the client for write access and a pointer in the client's address space obtained that may be written to.
  • MAP_PERSISTENT_BIT – The client may request that the server read from or write to the buffer while it is mapped. The client's pointer to the data store remains valid so long as the data store is mapped, even during execution of drawing or dispatch commands.
  • MAP_COHERENT_BIT – Shared access to buffers that are simultaneously mapped for client access and are used by the server will be coherent, so long as that mapping is performed using MapBufferRange. That is, data written to the store by either the client or server will be immediately visible to the other with no further action taken by the application. In particular:
  • CLIENT_STORAGE_BIT – When all other criteria for the buffer storage allocation are met, this bit may be used by an implementation to determine whether to use storage that is local to the server or to the client to serve as the backing store for the buffer.

If flags contains MAP_PERSISTENT_BIT, it must also contain at least one of MAP_READ_BIT or MAP_WRITE_BIT.

It is an error to specify MAP_COHERENT_BIT without also specifying MAP_PERSISTENT_BIT.

flags
)

DSA version of BufferStorage.

public static void
glNamedBufferStorage(int buffer, short[] data, int flags)

Array version of: NamedBufferStorage

public static void
glNamedBufferStorage(int buffer, int[] data, int flags)

Array version of: NamedBufferStorage

public static void
glNamedBufferStorage(int buffer, float[] data, int flags)

Array version of: NamedBufferStorage

public static void
glNamedBufferStorage(int buffer, double[] data, int flags)

Array version of: NamedBufferStorage

public static void
glNamedBufferSubData(int buffer, long
the offset into the buffer object's data store where data replacement will begin, measured in bytes
offset
,
ByteBuffer
a pointer to the new data that will be copied into the data store
data
)

DSA version of BufferSubData.

public static void
glNamedBufferSubData(int buffer, long
the offset into the buffer object's data store where data replacement will begin, measured in bytes
offset
,
ShortBuffer
a pointer to the new data that will be copied into the data store
data
)

DSA version of BufferSubData.

public static void
glNamedBufferSubData(int buffer, long
the offset into the buffer object's data store where data replacement will begin, measured in bytes
offset
,
IntBuffer
a pointer to the new data that will be copied into the data store
data
)

DSA version of BufferSubData.

public static void
glNamedBufferSubData(int buffer, long
the offset into the buffer object's data store where data replacement will begin, measured in bytes
offset
,
LongBuffer
a pointer to the new data that will be copied into the data store
data
)

DSA version of BufferSubData.

public static void
glNamedBufferSubData(int buffer, long
the offset into the buffer object's data store where data replacement will begin, measured in bytes
offset
,
FloatBuffer
a pointer to the new data that will be copied into the data store
data
)

DSA version of BufferSubData.

public static void
glNamedBufferSubData(int buffer, long
the offset into the buffer object's data store where data replacement will begin, measured in bytes
offset
,
DoubleBuffer
a pointer to the new data that will be copied into the data store
data
)

DSA version of BufferSubData.

public static void
glNamedBufferSubData(int buffer, long offset, short[] data)

Array version of: NamedBufferSubData

public static void
glNamedBufferSubData(int buffer, long offset, int[] data)

Array version of: NamedBufferSubData

public static void
glNamedBufferSubData(int buffer, long offset, long[] data)

Array version of: NamedBufferSubData

public static void
glNamedBufferSubData(int buffer, long offset, float[] data)

Array version of: NamedBufferSubData

public static void
glNamedBufferSubData(int buffer, long offset, double[] data)

Array version of: NamedBufferSubData

public static void
glNamedFramebufferDrawBuffer(int
the framebuffer name
framebuffer
,
int
the color buffer to draw to. One of:
NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTFRONTBACKLEFT
RIGHTFRONT_AND_BACKCOLOR_ATTACHMENT0GL30.GL_COLOR_ATTACHMENT[1-15]
buf
)

DSA version of DrawBuffer.

public static void
glNamedFramebufferDrawBuffers(int
the framebuffer name
framebuffer
,
IntBuffer
an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. One of:
NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTCOLOR_ATTACHMENT0
GL30.GL_COLOR_ATTACHMENT[1-15]
bufs
)

DSA version of DrawBuffers.

public static void
glNamedFramebufferDrawBuffers(int
the framebuffer name
framebuffer
,
int buf)

DSA version of DrawBuffers.

public static void
glNamedFramebufferDrawBuffers(int framebuffer, int[] bufs)

Array version of: NamedFramebufferDrawBuffers

public static void
glNamedFramebufferParameteri(int
the framebuffer name
framebuffer
,
int pname, int
the new value for the parameter named pname
param
)

DSA version of FramebufferParameteri.

public static void
glNamedFramebufferReadBuffer(int
the framebuffer name
framebuffer
,
int
the color buffer to read from. One of:
NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTFRONTBACKLEFT
RIGHTFRONT_AND_BACKCOLOR_ATTACHMENT0GL30.GL_COLOR_ATTACHMENT[1-15]
src
)

DSA version of ReadBuffer.

public static void
public static void
glNamedFramebufferTexture(int
the framebuffer name
framebuffer
,
int
the attachment point of the framebuffer
attachment
,
int
the texture object to attach to the framebuffer attachment point named by attachment
texture
,
int
the mipmap level of texture to attach
level
)

DSA version of FramebufferTexture.

public static void
public static void
glNamedRenderbufferStorage(int renderbuffer, int
the internal format to use for the renderbuffer object's image. Must be a color-renderable, depth-renderable, or stencil-renderable format.
internalformat
,
int
the width of the renderbuffer, in pixels
width
,
int
the height of the renderbuffer, in pixels
height
)

DSA version of RenderbufferStorage.

public static void
glNamedRenderbufferStorageMultisample(int renderbuffer, int
the number of samples to be used for the renderbuffer object's storage
samples
,
int
the internal format to use for the renderbuffer object's image. Must be a color-renderable, depth-renderable, or stencil-renderable format.
internalformat
,
int
the width of the renderbuffer, in pixels
width
,
int
the height of the renderbuffer, in pixels
height
)

DSA version of RenderbufferStorageMultisample.

public static void
glTextureBuffer(int
the texture name
texture
,
int
the sized internal format of the data in the store belonging to buffer
internalformat
,
int
the name of the buffer object whose storage to attach to the active buffer texture
buffer
)

DSA version of TexBuffer.

public static void
glTextureBufferRange(int
the texture name
texture
,
int
the internal format of the data in the store belonging to buffer
internalformat
,
int
the name of the buffer object whose storage to attach to the active buffer texture
buffer
,
long
the offset of the start of the range of the buffer's data store to attach
offset
,
long
the size of the range of the buffer's data store to attach
size
)

DSA version of TexBufferRange.

public static void
glTextureParameterf(int
the texture name
texture
,
int
the parameter to set
pname
,
float
the parameter value
param
)

DSA version of TexParameterf.

public static void
glTextureParameterfv(int
the texture name
texture
,
int
the parameter to set
pname
,
FloatBuffer
the parameter value
params
)

DSA version of TexParameterfv.

public static void
glTextureParameterfv(int texture, int pname, float[] params)

Array version of: TextureParameterfv

public static void
public static void
glTextureParameterIi(int
the texture name
texture
,
int
the symbolic name of a single-valued texture parameter
pname
,
int param)

DSA version of TexParameterIiv.

public static void
glTextureParameterIiv(int
the texture name
texture
,
int
the symbolic name of a single-valued texture parameter
pname
,
IntBuffer
the value of pname
params
)

DSA version of TexParameterIiv.

public static void
glTextureParameterIiv(int texture, int pname, int[] params)

Array version of: TextureParameterIiv

public static void
glTextureParameterIui(int
the texture name
texture
,
int
the symbolic name of a single-valued texture parameter
pname
,
int param)

DSA version of TexParameterIuiv.

public static void
glTextureParameterIuiv(int
the texture name
texture
,
int
the symbolic name of a single-valued texture parameter
pname
,
IntBuffer
the value of pname
params
)

DSA version of TexParameterIuiv.

public static void
glTextureParameterIuiv(int texture, int pname, int[] params)

Array version of: TextureParameterIuiv

public static void
glTextureParameteriv(int
the texture name
texture
,
int
the parameter to set
pname
,
IntBuffer
the parameter value
params
)

DSA version of TexParameteriv.

public static void
glTextureParameteriv(int texture, int pname, int[] params)

Array version of: TextureParameteriv

public static void
glTextureStorage1D(int
the texture name
texture
,
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
)

DSA version of TexStorage1D.

public static void
glTextureStorage2D(int
the texture name
texture
,
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
)

DSA version of TexStorage2D.

public static void
glTextureStorage2DMultisample(int
the texture name
texture
,
int
the number of samples in the texture
samples
,
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
,
boolean
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
fixedsamplelocations
)

DSA version of TexStorage2DMultisample.

public static void
glTextureStorage3D(int
the texture name
texture
,
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
)

DSA version of TexStorage3D.

public static void
glTextureStorage3DMultisample(int
the texture name
texture
,
int
the number of samples in the texture
samples
,
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
,
boolean
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
fixedsamplelocations
)

DSA version of TexStorage3DMultisample.

public static void
public static void
public static void
public static void
public static void
public static void
public static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, short[] pixels)

Array version of: TextureSubImage1D

public static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, int[] pixels)

Array version of: TextureSubImage1D

public static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, float[] pixels)

Array version of: TextureSubImage1D

public static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, double[] pixels)

Array version of: TextureSubImage1D

public static void
public static void
public static void
public static void
public static void
public static void
public static void
glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels)

Array version of: TextureSubImage2D

public static void
glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels)

Array version of: TextureSubImage2D

public static void
glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels)

Array version of: TextureSubImage2D

public static void
glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, double[] pixels)

Array version of: TextureSubImage2D

public static void
public static void
glTextureSubImage3D(int
the texture name
texture
,
int
the level-of-detail-number
level
,
int
the x coordinate of the texel subregion
xoffset
,
int
the y coordinate of the texel subregion
yoffset
,
int
the z coordinate of the texel subregion
zoffset
,
int
the subregion width
width
,
int
the subregion height
height
,
int
the subregion depth
depth
,
int format, int type, long
the pixel data
pixels
)

DSA version of TexSubImage3D.

public static void
public static void
public static void
public static void
public static void
glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, short[] pixels)

Array version of: TextureSubImage3D

public static void
glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int[] pixels)

Array version of: TextureSubImage3D

public static void
glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, float[] pixels)

Array version of: TextureSubImage3D

public static void
glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, double[] pixels)

Array version of: TextureSubImage3D

public static void
glTransformFeedbackBufferBase(int
zero or the name of an existing transform feedback object
xfb
,
int
the transform feedback stream index
index
,
int
the name of an existing buffer object
buffer
)

Binds a buffer object to a transform feedback object.

public static void
glTransformFeedbackBufferRange(int
zero or the name of an existing transform feedback object
xfb
,
int
the transform feedback stream index
index
,
int
the name of an existing buffer object
buffer
,
long
the starting offset in basic machine units into the buffer object
offset
,
long
the amount of data in machine units
size
)

Binds a region of a buffer object to a transform feedback object.

public static boolean
glUnmapNamedBuffer(int
the buffer object name
buffer
)

DSA version of UnmapBuffer.

public static void
glVertexArrayAttribBinding(int
the vertex array object name
vaobj
,
int
the index of the attribute to associate with a vertex buffer binding
attribindex
,
int
the index of the vertex buffer binding with which to associate the generic vertex attribute
bindingindex
)

DSA version of VertexAttribBinding.

public static void
glVertexArrayAttribFormat(int
the vertex array object name
vaobj
,
int
the generic vertex attribute array being described
attribindex
,
int
the number of values per vertex that are stored in the array. One of:
1234BGRA
size
,
int
the type of the data stored in the array
type
,
boolean
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.
normalized
,
int
the offset, measured in basic machine units of the first element relative to the start of the vertex buffer binding this attribute fetches from
relativeoffset
)

DSA version of VertexAttribFormat.

public static void
glVertexArrayAttribIFormat(int
the vertex array object name
vaobj
,
int
the generic vertex attribute array being described
attribindex
,
int
the number of values per vertex that are stored in the array. One of:
1234BGRA
size
,
int
the type of the data stored in the array
type
,
int
the offset, measured in basic machine units of the first element relative to the start of the vertex buffer binding this attribute fetches from
relativeoffset
)

DSA version of VertexAttribIFormat.

public static void
glVertexArrayAttribLFormat(int
the vertex array object name
vaobj
,
int
the generic vertex attribute array being described
attribindex
,
int
the number of values per vertex that are stored in the array. One of:
1234BGRA
size
,
int
the type of the data stored in the array
type
,
int
the offset, measured in basic machine units of the first element relative to the start of the vertex buffer binding this attribute fetches from
relativeoffset
)

DSA version of VertexAttribLFormat.

public static void
glVertexArrayBindingDivisor(int
the vertex array object name
vaobj
,
int
the index of the generic vertex attribute
bindingindex
,
int
the number of instances that will pass between updates of the generic attribute at slot index
divisor
)

DSA version of VertexBindingDivisor.

public static void
glVertexArrayElementBuffer(int
the vertex array object name
vaobj
,
int
the buffer object name. If buffer is zero, any existing element array buffer binding to vaobj is removed.
buffer
)

Binds a buffer object to the element array buffer bind point of a vertex array object.

public static void
glVertexArrayVertexBuffer(int
the vertex array object name
vaobj
,
int
the index of the vertex buffer binding point to which to bind the buffer
bindingindex
,
int
the name of an existing buffer to bind to the vertex buffer binding point
buffer
,
long
the offset of the first element of the buffer
offset
,
int
the distance between elements within the buffer
stride
)

DSA version of BindVertexBuffer.

public static void
glVertexArrayVertexBuffers(int
the vertex array object name
vaobj
,
int
the first vertex buffer binding point
first
,
IntBuffer
an array of zeros or names of existing buffers objects
buffers
,
PointerBuffer
an array of offses
offsets
,
IntBuffer
an array of stride values
strides
)

DSA version of BindVertexBuffers.

public static void
glVertexArrayVertexBuffers(int vaobj, int first, int[] buffers, PointerBuffer offsets, int[] strides)

Array version of: VertexArrayVertexBuffers

public static void
nglClearNamedBufferData(int buffer, int internalformat, int format, int type, long data)

Unsafe version of: ClearNamedBufferData

public static void
nglClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, long data)

Unsafe version of: ClearNamedBufferSubData

public static void
nglClearNamedFramebufferfv(int framebuffer, int buffer, int drawbuffer, long value)

Unsafe version of: ClearNamedFramebufferfv

public static void
nglClearNamedFramebufferiv(int framebuffer, int buffer, int drawbuffer, long value)

Unsafe version of: ClearNamedFramebufferiv

public static void
nglClearNamedFramebufferuiv(int framebuffer, int buffer, int drawbuffer, long value)

Unsafe version of: ClearNamedFramebufferuiv

public static void
nglCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long data)

Unsafe version of: CompressedTextureSubImage1D

public static void
nglCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long data)

Unsafe version of: CompressedTextureSubImage2D

public static void
nglCompressedTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int
the number of unsigned bytes of image data starting at the address specified by data
imageSize
,
long data)

Unsafe version of: CompressedTextureSubImage3D

public static void
nglCreateBuffers(int
the number of buffer names to create
n
,
long buffers)

Unsafe version of: CreateBuffers

public static void
nglCreateFramebuffers(int
the number of framebuffer names to create
n
,
long framebuffers)

Unsafe version of: CreateFramebuffers

public static void
nglCreateProgramPipelines(int
the number of program pipeline names to create
n
,
long pipelines)

Unsafe version of: CreateProgramPipelines

public static void
nglCreateQueries(int target, int
the number of query object names to create
n
,
long ids)

Unsafe version of: CreateQueries

public static void
nglCreateRenderbuffers(int
the number of renderbuffer names to create
n
,
long renderbuffers)

Unsafe version of: CreateRenderbuffers

public static void
nglCreateSamplers(int
the number of sampler object names to create
n
,
long samplers)

Unsafe version of: CreateSamplers

public static void
nglCreateTextures(int target, int
the number of texture names to create
n
,
long textures)

Unsafe version of: CreateTextures

public static void
nglCreateTransformFeedbacks(int
the number of transform feedback object names to create
n
,
long ids)

Unsafe version of: CreateTransformFeedbacks

public static void
nglCreateVertexArrays(int
the number of vertex array object names to create
n
,
long arrays)

Unsafe version of: CreateVertexArrays

public static void
nglGetCompressedTextureImage(int texture, int level, int
the size of the buffer to receive the retrieved pixel data
bufSize
,
long pixels)

Unsafe version of: GetCompressedTextureImage

public static void
nglGetNamedBufferParameteri64v(int buffer, int pname, long params)

Unsafe version of: GetNamedBufferParameteri64v

public static void
nglGetNamedBufferParameteriv(int buffer, int pname, long params)

Unsafe version of: GetNamedBufferParameteriv

public static void
nglGetNamedBufferPointerv(int buffer, int pname, long params)

Unsafe version of: GetNamedBufferPointerv

public static void
nglGetNamedBufferSubData(int buffer, long offset, long
the size in bytes of the data store region being returned
size
,
long data)

Unsafe version of: GetNamedBufferSubData

public static void
nglGetNamedFramebufferAttachmentParameteriv(int framebuffer, int attachment, int pname, long params)

Unsafe version of: GetNamedFramebufferAttachmentParameteriv

public static void
nglGetNamedFramebufferParameteriv(int framebuffer, int pname, long params)

Unsafe version of: GetNamedFramebufferParameteriv

public static void
nglGetNamedRenderbufferParameteriv(int renderbuffer, int pname, long params)

Unsafe version of: GetNamedRenderbufferParameteriv

public static void
nglGetTextureImage(int texture, int level, int format, int type, int
the size of the buffer to receive the retrieved pixel data
bufSize
,
long pixels)

Unsafe version of: GetTextureImage

public static void
nglGetTextureLevelParameterfv(int texture, int level, int pname, long params)

Unsafe version of: GetTextureLevelParameterfv

public static void
nglGetTextureLevelParameteriv(int texture, int level, int pname, long params)

Unsafe version of: GetTextureLevelParameteriv

public static void
nglGetTextureParameterfv(int texture, int pname, long params)

Unsafe version of: GetTextureParameterfv

public static void
nglGetTextureParameterIiv(int texture, int pname, long params)

Unsafe version of: GetTextureParameterIiv

public static void
nglGetTextureParameterIuiv(int texture, int pname, long params)

Unsafe version of: GetTextureParameterIuiv

public static void
nglGetTextureParameteriv(int texture, int pname, long params)

Unsafe version of: GetTextureParameteriv

public static void
nglGetTransformFeedbacki64_v(int xfb, int pname, int index, long param)

Unsafe version of: GetTransformFeedbacki64_v

public static void
nglGetTransformFeedbacki_v(int xfb, int pname, int index, long param)

Unsafe version of: GetTransformFeedbacki_v

public static void
nglGetTransformFeedbackiv(int xfb, int pname, long param)

Unsafe version of: GetTransformFeedbackiv

public static void
nglGetVertexArrayIndexed64iv(int vaobj, int index, int pname, long param)

Unsafe version of: GetVertexArrayIndexed64iv

public static void
nglGetVertexArrayIndexediv(int vaobj, int index, int pname, long param)

Unsafe version of: GetVertexArrayIndexediv

public static void
nglGetVertexArrayiv(int vaobj, int pname, long param)

Unsafe version of: GetVertexArrayiv

public static void
nglInvalidateNamedFramebufferData(int framebuffer, int
the number of entries in the attachments array
numAttachments
,
long attachments)

Unsafe version of: InvalidateNamedFramebufferData

public static void
nglInvalidateNamedFramebufferSubData(int framebuffer, int
the number of entries in the attachments array
numAttachments
,
long attachments, int x, int y, int width, int height)

Unsafe version of: InvalidateNamedFramebufferSubData

public static long
nglMapNamedBuffer(int buffer, int access)

Unsafe version of: MapNamedBuffer

public static long
nglMapNamedBufferRange(int buffer, long offset, long length, int access)

Unsafe version of: MapNamedBufferRange

public static void
nglNamedBufferData(int buffer, long
the size in bytes of the buffer object's new data store
size
,
long data, int usage)

Unsafe version of: NamedBufferData

public static void
nglNamedBufferStorage(int buffer, long
the size of the data store in basic machine units
size
,
long data, int flags)

Unsafe version of: NamedBufferStorage

public static void
nglNamedBufferSubData(int buffer, long offset, long
the size in bytes of the data store region being replaced
size
,
long data)

Unsafe version of: NamedBufferSubData

public static void
nglNamedFramebufferDrawBuffers(int framebuffer, int
the number of buffers in bufs
n
,
long bufs)

Unsafe version of: NamedFramebufferDrawBuffers

public static void
nglTextureParameterfv(int texture, int pname, long params)

Unsafe version of: TextureParameterfv

public static void
nglTextureParameterIiv(int texture, int pname, long params)

Unsafe version of: TextureParameterIiv

public static void
nglTextureParameterIuiv(int texture, int pname, long params)

Unsafe version of: TextureParameterIuiv

public static void
nglTextureParameteriv(int texture, int pname, long params)

Unsafe version of: TextureParameteriv

public static void
nglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, long pixels)

Unsafe version of: TextureSubImage1D

public static void
nglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels)

Unsafe version of: TextureSubImage2D

public static void
nglTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels)

Unsafe version of: TextureSubImage3D

public static void
nglVertexArrayVertexBuffers(int vaobj, int first, int
the number of vertex buffer binding points
count
,
long buffers, long offsets, long strides)

Unsafe version of: VertexArrayVertexBuffers

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait