Class ARBDirectStateAccess
- java.lang.Object
-
- org.lwjgl.opengl.ARBDirectStateAccess
-
public class ARBDirectStateAccess extends java.lang.Object
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 inOpenGL 4.5
.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_QUERY_TARGET
Accepted by thepname
parameter of GetQueryObjectiv.static int
GL_TEXTURE_TARGET
Accepted by thepname
parameter of GetTextureParameter{if}v and GetTextureParameterI{i ui}v.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
glBindTextureUnit(int unit, int texture)
Binds an existing texture object to the texture unit numberedunit
.static void
glBlitNamedFramebuffer(int readFramebuffer, int drawFramebuffer, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)
DSA version ofBlitFramebuffer
.static int
glCheckNamedFramebufferStatus(int framebuffer, int target)
DSA version ofCheckFramebufferStatus
.static void
glClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.ByteBuffer data)
DSA version ofClearBufferData
.static void
glClearNamedBufferData(int buffer, int internalformat, int format, int type, float[] data)
Array version of:ClearNamedBufferData
static void
glClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.FloatBuffer data)
DSA version ofClearBufferData
.static void
glClearNamedBufferData(int buffer, int internalformat, int format, int type, int[] data)
Array version of:ClearNamedBufferData
static void
glClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.IntBuffer data)
DSA version ofClearBufferData
.static void
glClearNamedBufferData(int buffer, int internalformat, int format, int type, short[] data)
Array version of:ClearNamedBufferData
static void
glClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.ShortBuffer data)
DSA version ofClearBufferData
.static void
glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.ByteBuffer data)
DSA version ofClearBufferSubData
.static void
glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, float[] data)
Array version of:ClearNamedBufferSubData
static void
glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.FloatBuffer data)
DSA version ofClearBufferSubData
.static void
glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, int[] data)
Array version of:ClearNamedBufferSubData
static void
glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.IntBuffer data)
DSA version ofClearBufferSubData
.static void
glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, short[] data)
Array version of:ClearNamedBufferSubData
static void
glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.ShortBuffer data)
DSA version ofClearBufferSubData
.static void
glClearNamedFramebufferfi(int framebuffer, int buffer, int drawbuffer, float depth, int stencil)
DSA version ofClearBufferfi
.static void
glClearNamedFramebufferfv(int framebuffer, int buffer, int drawbuffer, float[] value)
Array version of:ClearNamedFramebufferfv
static void
glClearNamedFramebufferfv(int framebuffer, int buffer, int drawbuffer, java.nio.FloatBuffer value)
DSA version ofClearBufferfv
.static void
glClearNamedFramebufferiv(int framebuffer, int buffer, int drawbuffer, int[] value)
Array version of:ClearNamedFramebufferiv
static void
glClearNamedFramebufferiv(int framebuffer, int buffer, int drawbuffer, java.nio.IntBuffer value)
DSA version ofClearBufferiv
.static void
glClearNamedFramebufferuiv(int framebuffer, int buffer, int drawbuffer, int[] value)
Array version of:ClearNamedFramebufferuiv
static void
glClearNamedFramebufferuiv(int framebuffer, int buffer, int drawbuffer, java.nio.IntBuffer value)
DSA version ofClearBufferuiv
.static void
glCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format, java.nio.ByteBuffer data)
DSA version ofCompressedTexSubImage1D
.static void
glCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int imageSize, long data)
DSA version ofCompressedTexSubImage1D
.static void
glCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, java.nio.ByteBuffer data)
DSA version ofCompressedTexSubImage2D
.static void
glCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, long data)
DSA version ofCompressedTexSubImage2D
.static void
glCompressedTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, java.nio.ByteBuffer data)
DSA version ofCompressedTexSubImage3D
.static void
glCompressedTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, long data)
DSA version ofCompressedTexSubImage3D
.static void
glCopyNamedBufferSubData(int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size)
DSA version ofCopyBufferSubData
.static void
glCopyTextureSubImage1D(int texture, int level, int xoffset, int x, int y, int width)
DSA version ofCopyTexSubImage1D
.static void
glCopyTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int x, int y, int width, int height)
DSA version ofCopyTexSubImage2D
.static void
glCopyTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
DSA version ofCopyTexSubImage3D
.static int
glCreateBuffers()
Returnsn
previously unused buffer names inbuffers
, each representing a new buffer object initialized as if it had been bound to an unspecified target.static void
glCreateBuffers(int[] buffers)
Array version of:CreateBuffers
static void
glCreateBuffers(java.nio.IntBuffer buffers)
Returnsn
previously unused buffer names inbuffers
, each representing a new buffer object initialized as if it had been bound to an unspecified target.static int
glCreateFramebuffers()
Returnsn
previously unused framebuffer names inframebuffers
, each representing a new framebuffer object.static void
glCreateFramebuffers(int[] framebuffers)
Array version of:CreateFramebuffers
static void
glCreateFramebuffers(java.nio.IntBuffer framebuffers)
Returnsn
previously unused framebuffer names inframebuffers
, each representing a new framebuffer object.static int
glCreateProgramPipelines()
Returnsn
previously unused program pipeline names inpipelines
, each representing a new program pipeline object.static void
glCreateProgramPipelines(int[] pipelines)
Array version of:CreateProgramPipelines
static void
glCreateProgramPipelines(java.nio.IntBuffer pipelines)
Returnsn
previously unused program pipeline names inpipelines
, each representing a new program pipeline object.static int
glCreateQueries(int target)
Returnsn
previously unused query object names inids
, each representing a new query object with the specifiedtarget
.static void
glCreateQueries(int target, int[] ids)
Array version of:CreateQueries
static void
glCreateQueries(int target, java.nio.IntBuffer ids)
Returnsn
previously unused query object names inids
, each representing a new query object with the specifiedtarget
.static int
glCreateRenderbuffers()
Returnsn
previously unused renderbuffer names inrenderbuffers
, each representing a new renderbuffer object.static void
glCreateRenderbuffers(int[] renderbuffers)
Array version of:CreateRenderbuffers
static void
glCreateRenderbuffers(java.nio.IntBuffer renderbuffers)
Returnsn
previously unused renderbuffer names inrenderbuffers
, each representing a new renderbuffer object.static int
glCreateSamplers()
Returnsn
previously unused sampler names insamplers
, each representing a new sampler object.static void
glCreateSamplers(int[] samplers)
Array version of:CreateSamplers
static void
glCreateSamplers(java.nio.IntBuffer samplers)
Returnsn
previously unused sampler names insamplers
, each representing a new sampler object.static int
glCreateTextures(int target)
Returnsn
previously unused texture names intextures
, each representing a new texture object.static void
glCreateTextures(int target, int[] textures)
Array version of:CreateTextures
static void
glCreateTextures(int target, java.nio.IntBuffer textures)
Returnsn
previously unused texture names intextures
, each representing a new texture object.static int
glCreateTransformFeedbacks()
Returnsn
previously unused transform feedback object names inids
, each representing a new state vector.static void
glCreateTransformFeedbacks(int[] ids)
Array version of:CreateTransformFeedbacks
static void
glCreateTransformFeedbacks(java.nio.IntBuffer ids)
Returnsn
previously unused transform feedback object names inids
, each representing a new state vector.static int
glCreateVertexArrays()
Returnsn
previously unused vertex array object names inarrays
.static void
glCreateVertexArrays(int[] arrays)
Array version of:CreateVertexArrays
static void
glCreateVertexArrays(java.nio.IntBuffer arrays)
Returnsn
previously unused vertex array object names inarrays
.static void
glDisableVertexArrayAttrib(int vaobj, int index)
DSA version ofDisableVertexAttribArray
.static void
glEnableVertexArrayAttrib(int vaobj, int index)
DSA version ofEnableVertexAttribArray
.static void
glFlushMappedNamedBufferRange(int buffer, long offset, long length)
DSA version ofFlushMappedBufferRange
.static void
glGenerateTextureMipmap(int texture)
DSA version ofGenerateMipmap
.static void
glGetCompressedTextureImage(int texture, int level, java.nio.ByteBuffer pixels)
DSA version ofGetCompressedTexImage
.static void
glGetCompressedTextureImage(int texture, int level, int bufSize, long pixels)
DSA version ofGetCompressedTexImage
.static int
glGetNamedBufferParameteri(int buffer, int pname)
DSA version ofGetBufferParameteriv
.static long
glGetNamedBufferParameteri64(int buffer, int pname)
DSA version ofGetBufferParameteri64v
.static void
glGetNamedBufferParameteri64v(int buffer, int pname, long[] params)
Array version of:GetNamedBufferParameteri64v
static void
glGetNamedBufferParameteri64v(int buffer, int pname, java.nio.LongBuffer params)
DSA version ofGetBufferParameteri64v
.static void
glGetNamedBufferParameteriv(int buffer, int pname, int[] params)
Array version of:GetNamedBufferParameteriv
static void
glGetNamedBufferParameteriv(int buffer, int pname, java.nio.IntBuffer params)
DSA version ofGetBufferParameteriv
.static long
glGetNamedBufferPointer(int buffer, int pname)
DSA version ofGetBufferPointerv
.static void
glGetNamedBufferPointerv(int buffer, int pname, org.lwjgl.PointerBuffer params)
DSA version ofGetBufferPointerv
.static void
glGetNamedBufferSubData(int buffer, long offset, java.nio.ByteBuffer data)
DSA version ofGetBufferSubData
.static void
glGetNamedBufferSubData(int buffer, long offset, double[] data)
Array version of:GetNamedBufferSubData
static void
glGetNamedBufferSubData(int buffer, long offset, java.nio.DoubleBuffer data)
DSA version ofGetBufferSubData
.static void
glGetNamedBufferSubData(int buffer, long offset, float[] data)
Array version of:GetNamedBufferSubData
static void
glGetNamedBufferSubData(int buffer, long offset, java.nio.FloatBuffer data)
DSA version ofGetBufferSubData
.static void
glGetNamedBufferSubData(int buffer, long offset, int[] data)
Array version of:GetNamedBufferSubData
static void
glGetNamedBufferSubData(int buffer, long offset, java.nio.IntBuffer data)
DSA version ofGetBufferSubData
.static void
glGetNamedBufferSubData(int buffer, long offset, short[] data)
Array version of:GetNamedBufferSubData
static void
glGetNamedBufferSubData(int buffer, long offset, java.nio.ShortBuffer data)
DSA version ofGetBufferSubData
.static int
glGetNamedFramebufferAttachmentParameteri(int framebuffer, int attachment, int pname)
DSA version ofGetFramebufferAttachmentParameteriv
.static void
glGetNamedFramebufferAttachmentParameteriv(int framebuffer, int attachment, int pname, int[] params)
Array version of:GetNamedFramebufferAttachmentParameteriv
static void
glGetNamedFramebufferAttachmentParameteriv(int framebuffer, int attachment, int pname, java.nio.IntBuffer params)
DSA version ofGetFramebufferAttachmentParameteriv
.static int
glGetNamedFramebufferParameteri(int framebuffer, int pname)
DSA version ofGetFramebufferParameteriv
.static void
glGetNamedFramebufferParameteriv(int framebuffer, int pname, int[] params)
Array version of:GetNamedFramebufferParameteriv
static void
glGetNamedFramebufferParameteriv(int framebuffer, int pname, java.nio.IntBuffer params)
DSA version ofGetFramebufferParameteriv
.static int
glGetNamedRenderbufferParameteri(int renderbuffer, int pname)
DSA version ofGetRenderbufferParameteriv
.static void
glGetNamedRenderbufferParameteriv(int renderbuffer, int pname, int[] params)
Array version of:GetNamedRenderbufferParameteriv
static void
glGetNamedRenderbufferParameteriv(int renderbuffer, int pname, java.nio.IntBuffer params)
DSA version ofGetRenderbufferParameteriv
.static void
glGetQueryBufferObjecti64v(int id, int buffer, int pname, long offset)
64bit version ofGetQueryBufferObjectiv
.static void
glGetQueryBufferObjectiv(int id, int buffer, int pname, long offset)
Queries the state of a query object.static void
glGetQueryBufferObjectui64v(int id, int buffer, int pname, long offset)
64bit version ofGetQueryBufferObjectuiv
.static void
glGetQueryBufferObjectuiv(int id, int buffer, int pname, long offset)
Unsigned version ofGetQueryBufferObjectiv
.static void
glGetTextureImage(int texture, int level, int format, int type, java.nio.ByteBuffer pixels)
DSA version ofGetTexImage
.static void
glGetTextureImage(int texture, int level, int format, int type, double[] pixels)
Array version of:GetTextureImage
static void
glGetTextureImage(int texture, int level, int format, int type, java.nio.DoubleBuffer pixels)
DSA version ofGetTexImage
.static void
glGetTextureImage(int texture, int level, int format, int type, float[] pixels)
Array version of:GetTextureImage
static void
glGetTextureImage(int texture, int level, int format, int type, java.nio.FloatBuffer pixels)
DSA version ofGetTexImage
.static void
glGetTextureImage(int texture, int level, int format, int type, int[] pixels)
Array version of:GetTextureImage
static void
glGetTextureImage(int texture, int level, int format, int type, java.nio.IntBuffer pixels)
DSA version ofGetTexImage
.static void
glGetTextureImage(int texture, int level, int format, int type, int bufSize, long pixels)
DSA version ofGetTexImage
.static void
glGetTextureImage(int texture, int level, int format, int type, short[] pixels)
Array version of:GetTextureImage
static void
glGetTextureImage(int texture, int level, int format, int type, java.nio.ShortBuffer pixels)
DSA version ofGetTexImage
.static float
glGetTextureLevelParameterf(int texture, int level, int pname)
DSA version ofGetTexLevelParameterfv
.static void
glGetTextureLevelParameterfv(int texture, int level, int pname, float[] params)
Array version of:GetTextureLevelParameterfv
static void
glGetTextureLevelParameterfv(int texture, int level, int pname, java.nio.FloatBuffer params)
DSA version ofGetTexLevelParameterfv
.static int
glGetTextureLevelParameteri(int texture, int level, int pname)
DSA version ofGetTexLevelParameteriv
.static void
glGetTextureLevelParameteriv(int texture, int level, int pname, int[] params)
Array version of:GetTextureLevelParameteriv
static void
glGetTextureLevelParameteriv(int texture, int level, int pname, java.nio.IntBuffer params)
DSA version ofGetTexLevelParameteriv
.static float
glGetTextureParameterf(int texture, int pname)
DSA version ofGetTexParameterfv
.static void
glGetTextureParameterfv(int texture, int pname, float[] params)
Array version of:GetTextureParameterfv
static void
glGetTextureParameterfv(int texture, int pname, java.nio.FloatBuffer params)
DSA version ofGetTexParameterfv
.static int
glGetTextureParameteri(int texture, int pname)
DSA version ofGetTexParameteriv
.static int
glGetTextureParameterIi(int texture, int pname)
DSA version ofGetTexParameterIiv
.static void
glGetTextureParameterIiv(int texture, int pname, int[] params)
Array version of:GetTextureParameterIiv
static void
glGetTextureParameterIiv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofGetTexParameterIiv
.static int
glGetTextureParameterIui(int texture, int pname)
DSA version ofGetTexParameterIuiv
.static void
glGetTextureParameterIuiv(int texture, int pname, int[] params)
Array version of:GetTextureParameterIuiv
static void
glGetTextureParameterIuiv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofGetTexParameterIuiv
.static void
glGetTextureParameteriv(int texture, int pname, int[] params)
Array version of:GetTextureParameteriv
static void
glGetTextureParameteriv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofGetTexParameteriv
.static void
glGetTransformFeedbacki_v(int xfb, int pname, int index, int[] param)
Array version of:GetTransformFeedbacki_v
static void
glGetTransformFeedbacki_v(int xfb, int pname, int index, java.nio.IntBuffer param)
Returns information about a transform feedback object.static int
glGetTransformFeedbacki(int xfb, int pname)
Returns information about a transform feedback object.static int
glGetTransformFeedbacki(int xfb, int pname, int index)
Returns information about a transform feedback object.static void
glGetTransformFeedbacki64_v(int xfb, int pname, int index, long[] param)
Array version of:GetTransformFeedbacki64_v
static void
glGetTransformFeedbacki64_v(int xfb, int pname, int index, java.nio.LongBuffer param)
Returns information about a transform feedback object.static long
glGetTransformFeedbacki64(int xfb, int pname, int index)
Returns information about a transform feedback object.static void
glGetTransformFeedbackiv(int xfb, int pname, int[] param)
Array version of:GetTransformFeedbackiv
static void
glGetTransformFeedbackiv(int xfb, int pname, java.nio.IntBuffer param)
Returns information about a transform feedback object.static int
glGetVertexArrayi(int vaobj, int pname)
Queries parameters of a vertex array object.static long
glGetVertexArrayIndexed64i(int vaobj, int index, int pname)
Queries parameters of an attribute of a vertex array object.static void
glGetVertexArrayIndexed64iv(int vaobj, int index, int pname, long[] param)
Array version of:GetVertexArrayIndexed64iv
static void
glGetVertexArrayIndexed64iv(int vaobj, int index, int pname, java.nio.LongBuffer param)
Queries parameters of an attribute of a vertex array object.static int
glGetVertexArrayIndexedi(int vaobj, int index, int pname)
Queries parameters of an attribute of a vertex array object.static void
glGetVertexArrayIndexediv(int vaobj, int index, int pname, int[] param)
Array version of:GetVertexArrayIndexediv
static void
glGetVertexArrayIndexediv(int vaobj, int index, int pname, java.nio.IntBuffer param)
Queries parameters of an attribute of a vertex array object.static void
glGetVertexArrayiv(int vaobj, int pname, int[] param)
Array version of:GetVertexArrayiv
static void
glGetVertexArrayiv(int vaobj, int pname, java.nio.IntBuffer param)
Queries parameters of a vertex array object.static void
glInvalidateNamedFramebufferData(int framebuffer, int attachment)
DSA version ofInvalidateFramebuffer
.static void
glInvalidateNamedFramebufferData(int framebuffer, int[] attachments)
Array version of:InvalidateNamedFramebufferData
static void
glInvalidateNamedFramebufferData(int framebuffer, java.nio.IntBuffer attachments)
DSA version ofInvalidateFramebuffer
.static void
glInvalidateNamedFramebufferSubData(int framebuffer, int[] attachments, int x, int y, int width, int height)
Array version of:InvalidateNamedFramebufferSubData
static void
glInvalidateNamedFramebufferSubData(int framebuffer, java.nio.IntBuffer attachments, int x, int y, int width, int height)
DSA version ofInvalidateSubFramebuffer
.static void
glInvalidateNamedFramebufferSubData(int framebuffer, int attachment, int x, int y, int width, int height)
DSA version ofInvalidateSubFramebuffer
.static java.nio.ByteBuffer
glMapNamedBuffer(int buffer, int access)
DSA version ofMapBuffer
.static java.nio.ByteBuffer
glMapNamedBuffer(int buffer, int access, java.nio.ByteBuffer old_buffer)
DSA version ofMapBuffer
.static java.nio.ByteBuffer
glMapNamedBuffer(int buffer, int access, long length, java.nio.ByteBuffer old_buffer)
DSA version ofMapBuffer
.static java.nio.ByteBuffer
glMapNamedBufferRange(int buffer, long offset, long length, int access)
DSA version ofMapBufferRange
.static java.nio.ByteBuffer
glMapNamedBufferRange(int buffer, long offset, long length, int access, java.nio.ByteBuffer old_buffer)
DSA version ofMapBufferRange
.static void
glNamedBufferData(int buffer, java.nio.ByteBuffer data, int usage)
DSA version ofBufferData
.static void
glNamedBufferData(int buffer, double[] data, int usage)
Array version of:NamedBufferData
static void
glNamedBufferData(int buffer, java.nio.DoubleBuffer data, int usage)
DSA version ofBufferData
.static void
glNamedBufferData(int buffer, float[] data, int usage)
Array version of:NamedBufferData
static void
glNamedBufferData(int buffer, java.nio.FloatBuffer data, int usage)
DSA version ofBufferData
.static void
glNamedBufferData(int buffer, int[] data, int usage)
Array version of:NamedBufferData
static void
glNamedBufferData(int buffer, java.nio.IntBuffer data, int usage)
DSA version ofBufferData
.static void
glNamedBufferData(int buffer, long size, int usage)
DSA version ofBufferData
.static void
glNamedBufferData(int buffer, short[] data, int usage)
Array version of:NamedBufferData
static void
glNamedBufferData(int buffer, java.nio.ShortBuffer data, int usage)
DSA version ofBufferData
.static void
glNamedBufferStorage(int buffer, java.nio.ByteBuffer data, int flags)
DSA version ofBufferStorage
.static void
glNamedBufferStorage(int buffer, double[] data, int flags)
Array version of:NamedBufferStorage
static void
glNamedBufferStorage(int buffer, java.nio.DoubleBuffer data, int flags)
DSA version ofBufferStorage
.static void
glNamedBufferStorage(int buffer, float[] data, int flags)
Array version of:NamedBufferStorage
static void
glNamedBufferStorage(int buffer, java.nio.FloatBuffer data, int flags)
DSA version ofBufferStorage
.static void
glNamedBufferStorage(int buffer, int[] data, int flags)
Array version of:NamedBufferStorage
static void
glNamedBufferStorage(int buffer, java.nio.IntBuffer data, int flags)
DSA version ofBufferStorage
.static void
glNamedBufferStorage(int buffer, long size, int flags)
DSA version ofBufferStorage
.static void
glNamedBufferStorage(int buffer, short[] data, int flags)
Array version of:NamedBufferStorage
static void
glNamedBufferStorage(int buffer, java.nio.ShortBuffer data, int flags)
DSA version ofBufferStorage
.static void
glNamedBufferSubData(int buffer, long offset, java.nio.ByteBuffer data)
DSA version ofBufferSubData
.static void
glNamedBufferSubData(int buffer, long offset, double[] data)
Array version of:NamedBufferSubData
static void
glNamedBufferSubData(int buffer, long offset, java.nio.DoubleBuffer data)
DSA version ofBufferSubData
.static void
glNamedBufferSubData(int buffer, long offset, float[] data)
Array version of:NamedBufferSubData
static void
glNamedBufferSubData(int buffer, long offset, java.nio.FloatBuffer data)
DSA version ofBufferSubData
.static void
glNamedBufferSubData(int buffer, long offset, int[] data)
Array version of:NamedBufferSubData
static void
glNamedBufferSubData(int buffer, long offset, java.nio.IntBuffer data)
DSA version ofBufferSubData
.static void
glNamedBufferSubData(int buffer, long offset, short[] data)
Array version of:NamedBufferSubData
static void
glNamedBufferSubData(int buffer, long offset, java.nio.ShortBuffer data)
DSA version ofBufferSubData
.static void
glNamedFramebufferDrawBuffer(int framebuffer, int buf)
DSA version ofDrawBuffer
.static void
glNamedFramebufferDrawBuffers(int framebuffer, int buf)
DSA version ofDrawBuffers
.static void
glNamedFramebufferDrawBuffers(int framebuffer, int[] bufs)
Array version of:NamedFramebufferDrawBuffers
static void
glNamedFramebufferDrawBuffers(int framebuffer, java.nio.IntBuffer bufs)
DSA version ofDrawBuffers
.static void
glNamedFramebufferParameteri(int framebuffer, int pname, int param)
DSA version ofFramebufferParameteri
.static void
glNamedFramebufferReadBuffer(int framebuffer, int src)
DSA version ofReadBuffer
.static void
glNamedFramebufferRenderbuffer(int framebuffer, int attachment, int renderbuffertarget, int renderbuffer)
DSA version ofFramebufferRenderbuffer
.static void
glNamedFramebufferTexture(int framebuffer, int attachment, int texture, int level)
DSA version ofFramebufferTexture
.static void
glNamedFramebufferTextureLayer(int framebuffer, int attachment, int texture, int level, int layer)
DSA version ofFramebufferTextureLayer
.static void
glNamedRenderbufferStorage(int renderbuffer, int internalformat, int width, int height)
DSA version ofRenderbufferStorage
.static void
glNamedRenderbufferStorageMultisample(int renderbuffer, int samples, int internalformat, int width, int height)
DSA version ofRenderbufferStorageMultisample
.static void
glTextureBuffer(int texture, int internalformat, int buffer)
DSA version ofTexBuffer
.static void
glTextureBufferRange(int texture, int internalformat, int buffer, long offset, long size)
DSA version ofTexBufferRange
.static void
glTextureParameterf(int texture, int pname, float param)
DSA version ofTexParameterf
.static void
glTextureParameterfv(int texture, int pname, float[] params)
Array version of:TextureParameterfv
static void
glTextureParameterfv(int texture, int pname, java.nio.FloatBuffer params)
DSA version ofTexParameterfv
.static void
glTextureParameteri(int texture, int pname, int param)
DSA version ofTexParameteri
.static void
glTextureParameterIi(int texture, int pname, int param)
DSA version ofTexParameterIiv
.static void
glTextureParameterIiv(int texture, int pname, int[] params)
Array version of:TextureParameterIiv
static void
glTextureParameterIiv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofTexParameterIiv
.static void
glTextureParameterIui(int texture, int pname, int param)
DSA version ofTexParameterIuiv
.static void
glTextureParameterIuiv(int texture, int pname, int[] params)
Array version of:TextureParameterIuiv
static void
glTextureParameterIuiv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofTexParameterIuiv
.static void
glTextureParameteriv(int texture, int pname, int[] params)
Array version of:TextureParameteriv
static void
glTextureParameteriv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofTexParameteriv
.static void
glTextureStorage1D(int texture, int levels, int internalformat, int width)
DSA version ofTexStorage1D
.static void
glTextureStorage2D(int texture, int levels, int internalformat, int width, int height)
DSA version ofTexStorage2D
.static void
glTextureStorage2DMultisample(int texture, int samples, int internalformat, int width, int height, boolean fixedsamplelocations)
DSA version ofTexStorage2DMultisample
.static void
glTextureStorage3D(int texture, int levels, int internalformat, int width, int height, int depth)
DSA version ofTexStorage3D
.static void
glTextureStorage3DMultisample(int texture, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations)
DSA version ofTexStorage3DMultisample
.static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.ByteBuffer pixels)
DSA version ofTexSubImage1D
.static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, double[] pixels)
Array version of:TextureSubImage1D
static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.DoubleBuffer pixels)
DSA version ofTexSubImage1D
.static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, float[] pixels)
Array version of:TextureSubImage1D
static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.FloatBuffer pixels)
DSA version ofTexSubImage1D
.static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, int[] pixels)
Array version of:TextureSubImage1D
static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.IntBuffer pixels)
DSA version ofTexSubImage1D
.static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, long pixels)
DSA version ofTexSubImage1D
.static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, short[] pixels)
Array version of:TextureSubImage1D
static void
glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.ShortBuffer pixels)
DSA version ofTexSubImage1D
.static void
glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.ByteBuffer pixels)
DSA version ofTexSubImage2D
.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
static void
glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.DoubleBuffer pixels)
DSA version ofTexSubImage2D
.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
static void
glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.FloatBuffer pixels)
DSA version ofTexSubImage2D
.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
static void
glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.IntBuffer pixels)
DSA version ofTexSubImage2D
.static void
glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels)
DSA version ofTexSubImage2D
.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
static void
glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.ShortBuffer pixels)
DSA version ofTexSubImage2D
.static void
glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.ByteBuffer pixels)
DSA version ofTexSubImage3D
.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
static void
glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.DoubleBuffer pixels)
DSA version ofTexSubImage3D
.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
static void
glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.FloatBuffer pixels)
DSA version ofTexSubImage3D
.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
static void
glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.IntBuffer pixels)
DSA version ofTexSubImage3D
.static void
glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels)
DSA version ofTexSubImage3D
.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
static void
glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.ShortBuffer pixels)
DSA version ofTexSubImage3D
.static void
glTransformFeedbackBufferBase(int xfb, int index, int buffer)
Binds a buffer object to a transform feedback object.static void
glTransformFeedbackBufferRange(int xfb, int index, int buffer, long offset, long size)
Binds a region of a buffer object to a transform feedback object.static boolean
glUnmapNamedBuffer(int buffer)
DSA version ofUnmapBuffer
.static void
glVertexArrayAttribBinding(int vaobj, int attribindex, int bindingindex)
DSA version ofVertexAttribBinding
.static void
glVertexArrayAttribFormat(int vaobj, int attribindex, int size, int type, boolean normalized, int relativeoffset)
DSA version ofVertexAttribFormat
.static void
glVertexArrayAttribIFormat(int vaobj, int attribindex, int size, int type, int relativeoffset)
DSA version ofVertexAttribIFormat
.static void
glVertexArrayAttribLFormat(int vaobj, int attribindex, int size, int type, int relativeoffset)
DSA version ofVertexAttribLFormat
.static void
glVertexArrayBindingDivisor(int vaobj, int bindingindex, int divisor)
DSA version ofVertexBindingDivisor
.static void
glVertexArrayElementBuffer(int vaobj, int buffer)
Binds a buffer object to the element array buffer bind point of a vertex array object.static void
glVertexArrayVertexBuffer(int vaobj, int bindingindex, int buffer, long offset, int stride)
DSA version ofBindVertexBuffer
.static void
glVertexArrayVertexBuffers(int vaobj, int first, int[] buffers, org.lwjgl.PointerBuffer offsets, int[] strides)
Array version of:VertexArrayVertexBuffers
static void
glVertexArrayVertexBuffers(int vaobj, int first, java.nio.IntBuffer buffers, org.lwjgl.PointerBuffer offsets, java.nio.IntBuffer strides)
DSA version ofBindVertexBuffers
.
-
-
-
Field Detail
-
GL_TEXTURE_TARGET
Accepted by thepname
parameter of GetTextureParameter{if}v and GetTextureParameterI{i ui}v.
-
GL_QUERY_TARGET
Accepted by thepname
parameter of GetQueryObjectiv.
-
-
Method Detail
-
glCreateTransformFeedbacks
public static void glCreateTransformFeedbacks(java.nio.IntBuffer ids)
Returnsn
previously unused transform feedback object names inids
, each representing a new state vector.- Parameters:
ids
- the buffer in which to return the names
-
glCreateTransformFeedbacks
public static int glCreateTransformFeedbacks()
Returnsn
previously unused transform feedback object names inids
, each representing a new state vector.
-
glTransformFeedbackBufferBase
public static void glTransformFeedbackBufferBase(int xfb, int index, int buffer)
Binds a buffer object to a transform feedback object.- Parameters:
xfb
- zero or the name of an existing transform feedback objectindex
- the transform feedback stream indexbuffer
- the name of an existing buffer object
-
glTransformFeedbackBufferRange
public static void glTransformFeedbackBufferRange(int xfb, int index, int buffer, long offset, long size)
Binds a region of a buffer object to a transform feedback object.- Parameters:
xfb
- zero or the name of an existing transform feedback objectindex
- the transform feedback stream indexbuffer
- the name of an existing buffer objectoffset
- the starting offset in basic machine units into the buffer objectsize
- the amount of data in machine units
-
glGetTransformFeedbackiv
public static void glGetTransformFeedbackiv(int xfb, int pname, java.nio.IntBuffer param)
Returns information about a transform feedback object.- Parameters:
xfb
- zero or the name of an existing transform feedback objectpname
- the parameter to query. One of:TRANSFORM_FEEDBACK_PAUSED
TRANSFORM_FEEDBACK_ACTIVE
param
- the buffer in which to return the parameter value
-
glGetTransformFeedbacki
public static int glGetTransformFeedbacki(int xfb, int pname)
Returns information about a transform feedback object.- Parameters:
xfb
- zero or the name of an existing transform feedback objectpname
- the parameter to query. One of:TRANSFORM_FEEDBACK_PAUSED
TRANSFORM_FEEDBACK_ACTIVE
-
glGetTransformFeedbacki_v
public static void glGetTransformFeedbacki_v(int xfb, int pname, int index, java.nio.IntBuffer param)
Returns information about a transform feedback object.- Parameters:
xfb
- zero or the name of an existing transform feedback objectpname
- the parameter to query. Must be:TRANSFORM_FEEDBACK_BUFFER_BINDING
index
- the transform feedback stream indexparam
- the buffer in which to return the parameter value
-
glGetTransformFeedbacki
public static int glGetTransformFeedbacki(int xfb, int pname, int index)
Returns information about a transform feedback object.- Parameters:
xfb
- zero or the name of an existing transform feedback objectpname
- the parameter to query. Must be:TRANSFORM_FEEDBACK_BUFFER_BINDING
index
- the transform feedback stream index
-
glGetTransformFeedbacki64_v
public static void glGetTransformFeedbacki64_v(int xfb, int pname, int index, java.nio.LongBuffer param)
Returns information about a transform feedback object.- Parameters:
xfb
- zero or the name of an existing transform feedback objectpname
- the parameter to query. One of:TRANSFORM_FEEDBACK_BUFFER_START
TRANSFORM_FEEDBACK_BUFFER_SIZE
index
- the transform feedback stream indexparam
- the buffer in which to return the parameter value
-
glGetTransformFeedbacki64
public static long glGetTransformFeedbacki64(int xfb, int pname, int index)
Returns information about a transform feedback object.- Parameters:
xfb
- zero or the name of an existing transform feedback objectpname
- the parameter to query. One of:TRANSFORM_FEEDBACK_BUFFER_START
TRANSFORM_FEEDBACK_BUFFER_SIZE
index
- the transform feedback stream index
-
glCreateBuffers
public static void glCreateBuffers(java.nio.IntBuffer buffers)
Returnsn
previously unused buffer names inbuffers
, each representing a new buffer object initialized as if it had been bound to an unspecified target.- Parameters:
buffers
- the buffer in which to return the names
-
glCreateBuffers
public static int glCreateBuffers()
Returnsn
previously unused buffer names inbuffers
, each representing a new buffer object initialized as if it had been bound to an unspecified target.
-
glNamedBufferStorage
public static void glNamedBufferStorage(int buffer, long size, int flags)
DSA version ofBufferStorage
.- Parameters:
buffer
- the buffer object namesize
- the size of the data store in basic machine unitsflags
- the bitwiseOR
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 toBufferSubData
. If this bit is not set, the buffer content may not be directly updated by the client. Thedata
argument may be used to specify the initial content of the buffer's data store regardless of the presence of theDYNAMIC_STORAGE_BIT
. Regardless of the presence of this bit, buffers may always be updated with server-side calls such asCopyBufferSubData
andClearBufferSubData
.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:- If
MAP_COHERENT_BIT
is not set and the client performs a write followed by a call to theMemoryBarrier
command with theCLIENT_MAPPED_BUFFER_BARRIER_BIT
set, then in subsequent commands the server will see the writes. - If
MAP_COHERENT_BIT
is set and the client performs a write, then in subsequent commands the server will see the writes. - If
MAP_COHERENT_BIT
is not set and the server performs a write, the application must callMemoryBarrier
with theCLIENT_MAPPED_BUFFER_BARRIER_BIT
set and then callFenceSync
withSYNC_GPU_COMMANDS_COMPLETE
(orFinish
). Then the CPU will see the writes after the sync is complete. - If
MAP_COHERENT_BIT
is set and the server does a write, the app must callFenceSync
withSYNC_GPU_COMMANDS_COMPLETE
(orFinish
). Then the CPU will see the writes after the sync is complete.
- If
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
containsMAP_PERSISTENT_BIT
, it must also contain at least one ofMAP_READ_BIT
orMAP_WRITE_BIT
.It is an error to specify
MAP_COHERENT_BIT
without also specifyingMAP_PERSISTENT_BIT
.
-
glNamedBufferStorage
public static void glNamedBufferStorage(int buffer, java.nio.ByteBuffer data, int flags) public static void glNamedBufferStorage(int buffer, java.nio.ShortBuffer data, int flags) public static void glNamedBufferStorage(int buffer, java.nio.IntBuffer data, int flags) public static void glNamedBufferStorage(int buffer, java.nio.FloatBuffer data, int flags) public static void glNamedBufferStorage(int buffer, java.nio.DoubleBuffer data, int flags)
DSA version ofBufferStorage
.- Parameters:
buffer
- the buffer object namedata
- the address in client memory of the data that should be used to initialize the buffer's data store. Ifdata
isNULL
, the data store of the buffer is created, but contains undefined data. Otherwise,data
should point to an array of at leastsize
basic machine units.flags
- the bitwiseOR
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 toBufferSubData
. If this bit is not set, the buffer content may not be directly updated by the client. Thedata
argument may be used to specify the initial content of the buffer's data store regardless of the presence of theDYNAMIC_STORAGE_BIT
. Regardless of the presence of this bit, buffers may always be updated with server-side calls such asCopyBufferSubData
andClearBufferSubData
.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:- If
MAP_COHERENT_BIT
is not set and the client performs a write followed by a call to theMemoryBarrier
command with theCLIENT_MAPPED_BUFFER_BARRIER_BIT
set, then in subsequent commands the server will see the writes. - If
MAP_COHERENT_BIT
is set and the client performs a write, then in subsequent commands the server will see the writes. - If
MAP_COHERENT_BIT
is not set and the server performs a write, the application must callMemoryBarrier
with theCLIENT_MAPPED_BUFFER_BARRIER_BIT
set and then callFenceSync
withSYNC_GPU_COMMANDS_COMPLETE
(orFinish
). Then the CPU will see the writes after the sync is complete. - If
MAP_COHERENT_BIT
is set and the server does a write, the app must callFenceSync
withSYNC_GPU_COMMANDS_COMPLETE
(orFinish
). Then the CPU will see the writes after the sync is complete.
- If
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
containsMAP_PERSISTENT_BIT
, it must also contain at least one ofMAP_READ_BIT
orMAP_WRITE_BIT
.It is an error to specify
MAP_COHERENT_BIT
without also specifyingMAP_PERSISTENT_BIT
.
-
glNamedBufferData
public static void glNamedBufferData(int buffer, long size, int usage)
DSA version ofBufferData
.- Parameters:
buffer
-size
- the size in bytes of the buffer object's new data storeusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
-
glNamedBufferData
public static void glNamedBufferData(int buffer, java.nio.ByteBuffer data, int usage) public static void glNamedBufferData(int buffer, java.nio.ShortBuffer data, int usage) public static void glNamedBufferData(int buffer, java.nio.IntBuffer data, int usage) public static void glNamedBufferData(int buffer, java.nio.FloatBuffer data, int usage) public static void glNamedBufferData(int buffer, java.nio.DoubleBuffer data, int usage)
DSA version ofBufferData
.- Parameters:
buffer
-data
- a pointer to data that will be copied into the data store for initialization, orNULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW
STREAM_READ
STREAM_COPY
STATIC_DRAW
STATIC_READ
STATIC_COPY
DYNAMIC_DRAW
DYNAMIC_READ
DYNAMIC_COPY
-
glNamedBufferSubData
public static void glNamedBufferSubData(int buffer, long offset, java.nio.ByteBuffer data) public static void glNamedBufferSubData(int buffer, long offset, java.nio.ShortBuffer data) public static void glNamedBufferSubData(int buffer, long offset, java.nio.IntBuffer data) public static void glNamedBufferSubData(int buffer, long offset, java.nio.FloatBuffer data) public static void glNamedBufferSubData(int buffer, long offset, java.nio.DoubleBuffer data)
DSA version ofBufferSubData
.- Parameters:
buffer
-offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data store
-
glCopyNamedBufferSubData
public static void glCopyNamedBufferSubData(int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size)
DSA version ofCopyBufferSubData
.- Parameters:
readBuffer
- the source buffer object namewriteBuffer
- the destination buffer object namereadOffset
- the source buffer object offset, in byteswriteOffset
- the destination buffer object offset, in bytessize
- the number of bytes to copy
-
glClearNamedBufferData
public static void glClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.ByteBuffer data) public static void glClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.ShortBuffer data) public static void glClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.IntBuffer data) public static void glClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.FloatBuffer data)
DSA version ofClearBufferData
.- Parameters:
buffer
- the buffer object nameinternalformat
- the internal format with which the data will be stored in the buffer objectformat
- the format of the data in memory addressed bydata
. One of:type
- the type of the data in memory addressed bydata
. One of:data
- the buffer containing the data to be used as the source of the constant fill value. The elements of data are converted by the GL into the format specified by internalformat, and then used to fill the specified range of the destination buffer. If data isNULL
, then it is ignored and the sub-range of the buffer is filled with zeros.
-
glClearNamedBufferSubData
public static void glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.ByteBuffer data) public static void glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.ShortBuffer data) public static void glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.IntBuffer data) public static void glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.FloatBuffer data)
DSA version ofClearBufferSubData
.- Parameters:
buffer
- the buffer object nameinternalformat
- the internal format with which the data will be stored in the buffer objectoffset
- the offset, in basic machine units into the buffer object's data store at which to start fillingsize
- the size, in basic machine units of the range of the data store to fillformat
- the format of the data in memory addressed bydata
. One of:type
- the type of the data in memory addressed bydata
. One of:data
- the buffer containing the data to be used as the source of the constant fill value. The elements of data are converted by the GL into the format specified by internalformat, and then used to fill the specified range of the destination buffer. If data isNULL
, then it is ignored and the sub-range of the buffer is filled with zeros.
-
glMapNamedBuffer
public static java.nio.ByteBuffer glMapNamedBuffer(int buffer, int access) public static java.nio.ByteBuffer glMapNamedBuffer(int buffer, int access, java.nio.ByteBuffer old_buffer) public static java.nio.ByteBuffer glMapNamedBuffer(int buffer, int access, long length, java.nio.ByteBuffer old_buffer)
DSA version ofMapBuffer
.- Parameters:
buffer
- the buffer object nameaccess
- 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_ONLY
WRITE_ONLY
READ_WRITE
-
glMapNamedBufferRange
public static java.nio.ByteBuffer glMapNamedBufferRange(int buffer, long offset, long length, int access) public static java.nio.ByteBuffer glMapNamedBufferRange(int buffer, long offset, long length, int access, java.nio.ByteBuffer old_buffer)
DSA version ofMapBufferRange
.- Parameters:
buffer
- the buffer object nameoffset
- the starting offset within the buffer of the range to be mappedlength
- the length of the range to be mappedaccess
- a combination of access flags indicating the desired access to the range. One or more of:MAP_READ_BIT
MAP_WRITE_BIT
MAP_INVALIDATE_RANGE_BIT
MAP_INVALIDATE_BUFFER_BIT
MAP_FLUSH_EXPLICIT_BIT
MAP_UNSYNCHRONIZED_BIT
-
glUnmapNamedBuffer
public static boolean glUnmapNamedBuffer(int buffer)
DSA version ofUnmapBuffer
.- Parameters:
buffer
- the buffer object name
-
glFlushMappedNamedBufferRange
public static void glFlushMappedNamedBufferRange(int buffer, long offset, long length)
DSA version ofFlushMappedBufferRange
.- Parameters:
buffer
- the buffer object nameoffset
- the start of the buffer subrange, in basic machine unitslength
- the length of the buffer subrange, in basic machine units
-
glGetNamedBufferParameteriv
public static void glGetNamedBufferParameteriv(int buffer, int pname, java.nio.IntBuffer params)
DSA version ofGetBufferParameteriv
.- Parameters:
buffer
- the buffer object namepname
- the symbolic name of a buffer object parameter. One of:BUFFER_SIZE
BUFFER_USAGE
BUFFER_ACCESS
BUFFER_MAPPED
BUFFER_ACCESS_FLAGS
BUFFER_MAP_LENGTH
BUFFER_MAP_OFFSET
BUFFER_IMMUTABLE_STORAGE
BUFFER_STORAGE_FLAGS
params
- the requested parameter
-
glGetNamedBufferParameteri
public static int glGetNamedBufferParameteri(int buffer, int pname)
DSA version ofGetBufferParameteriv
.- Parameters:
buffer
- the buffer object namepname
- the symbolic name of a buffer object parameter. One of:BUFFER_SIZE
BUFFER_USAGE
BUFFER_ACCESS
BUFFER_MAPPED
BUFFER_ACCESS_FLAGS
BUFFER_MAP_LENGTH
BUFFER_MAP_OFFSET
BUFFER_IMMUTABLE_STORAGE
BUFFER_STORAGE_FLAGS
-
glGetNamedBufferParameteri64v
public static void glGetNamedBufferParameteri64v(int buffer, int pname, java.nio.LongBuffer params)
DSA version ofGetBufferParameteri64v
.- Parameters:
buffer
- the buffer object namepname
- the symbolic name of a buffer object parameter. One of:BUFFER_SIZE
BUFFER_USAGE
BUFFER_ACCESS
BUFFER_MAPPED
BUFFER_ACCESS_FLAGS
BUFFER_MAP_LENGTH
BUFFER_MAP_OFFSET
BUFFER_IMMUTABLE_STORAGE
BUFFER_STORAGE_FLAGS
params
- the requested parameter
-
glGetNamedBufferParameteri64
public static long glGetNamedBufferParameteri64(int buffer, int pname)
DSA version ofGetBufferParameteri64v
.- Parameters:
buffer
- the buffer object namepname
- the symbolic name of a buffer object parameter. One of:BUFFER_SIZE
BUFFER_USAGE
BUFFER_ACCESS
BUFFER_MAPPED
BUFFER_ACCESS_FLAGS
BUFFER_MAP_LENGTH
BUFFER_MAP_OFFSET
BUFFER_IMMUTABLE_STORAGE
BUFFER_STORAGE_FLAGS
-
glGetNamedBufferPointerv
public static void glGetNamedBufferPointerv(int buffer, int pname, org.lwjgl.PointerBuffer params)
DSA version ofGetBufferPointerv
.- Parameters:
buffer
- the buffer object namepname
- the pointer to be returned. Must be:BUFFER_MAP_POINTER
params
- the pointer value specified bypname
-
glGetNamedBufferPointer
public static long glGetNamedBufferPointer(int buffer, int pname)
DSA version ofGetBufferPointerv
.- Parameters:
buffer
- the buffer object namepname
- the pointer to be returned. Must be:BUFFER_MAP_POINTER
-
glGetNamedBufferSubData
public static void glGetNamedBufferSubData(int buffer, long offset, java.nio.ByteBuffer data) public static void glGetNamedBufferSubData(int buffer, long offset, java.nio.ShortBuffer data) public static void glGetNamedBufferSubData(int buffer, long offset, java.nio.IntBuffer data) public static void glGetNamedBufferSubData(int buffer, long offset, java.nio.FloatBuffer data) public static void glGetNamedBufferSubData(int buffer, long offset, java.nio.DoubleBuffer data)
DSA version ofGetBufferSubData
.- Parameters:
buffer
- the buffer object nameoffset
- the offset into the buffer object's data store from which data will be returned, measured in bytesdata
- a pointer to the location where buffer object data is returned
-
glCreateFramebuffers
public static void glCreateFramebuffers(java.nio.IntBuffer framebuffers)
Returnsn
previously unused framebuffer names inframebuffers
, each representing a new framebuffer object.- Parameters:
framebuffers
- the buffer in which to store the framebuffer names
-
glCreateFramebuffers
public static int glCreateFramebuffers()
Returnsn
previously unused framebuffer names inframebuffers
, each representing a new framebuffer object.
-
glNamedFramebufferRenderbuffer
public static void glNamedFramebufferRenderbuffer(int framebuffer, int attachment, int renderbuffertarget, int renderbuffer)
DSA version ofFramebufferRenderbuffer
.- Parameters:
framebuffer
- the framebuffer nameattachment
- the attachment point of the framebuffer. One of:renderbuffertarget
- the renderbuffer target. Must be:RENDERBUFFER
renderbuffer
- the name of an existing renderbuffer object of typerenderbuffertarget
to attach
-
glNamedFramebufferParameteri
public static void glNamedFramebufferParameteri(int framebuffer, int pname, int param)
DSA version ofFramebufferParameteri
.- Parameters:
framebuffer
- the framebuffer namepname
- a token indicating the parameter to be modified. One of:FRAMEBUFFER_DEFAULT_WIDTH
FRAMEBUFFER_DEFAULT_HEIGHT
FRAMEBUFFER_DEFAULT_LAYERS
FRAMEBUFFER_DEFAULT_SAMPLES
FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
param
- the new value for the parameter namedpname
-
glNamedFramebufferTexture
public static void glNamedFramebufferTexture(int framebuffer, int attachment, int texture, int level)
DSA version ofFramebufferTexture
.- Parameters:
framebuffer
- the framebuffer nameattachment
- the attachment point of the framebuffertexture
- the texture object to attach to the framebuffer attachment point named byattachment
level
- the mipmap level oftexture
to attach
-
glNamedFramebufferTextureLayer
public static void glNamedFramebufferTextureLayer(int framebuffer, int attachment, int texture, int level, int layer)
DSA version ofFramebufferTextureLayer
.- Parameters:
framebuffer
- the framebuffer nameattachment
- the attachment point of the framebuffer. One of:texture
- the texture object to attach to the framebuffer attachment point named byattachment
level
- the mipmap level oftexture
to attachlayer
- the layer oftexture
to attach.
-
glNamedFramebufferDrawBuffer
public static void glNamedFramebufferDrawBuffer(int framebuffer, int buf)
DSA version ofDrawBuffer
.- Parameters:
framebuffer
- the framebuffer namebuf
- the color buffer to draw to. One of:NONE
FRONT_LEFT
FRONT_RIGHT
BACK_LEFT
BACK_RIGHT
FRONT
BACK
LEFT
RIGHT
FRONT_AND_BACK
AUX0
AUX1
AUX2
AUX3
COLOR_ATTACHMENT0
GL30.GL_COLOR_ATTACHMENT[1-15]
-
glNamedFramebufferDrawBuffers
public static void glNamedFramebufferDrawBuffers(int framebuffer, java.nio.IntBuffer bufs)
DSA version ofDrawBuffers
.- Parameters:
framebuffer
- the framebuffer namebufs
- an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. One of:NONE
FRONT_LEFT
FRONT_RIGHT
BACK_LEFT
BACK_RIGHT
AUX0
AUX1
AUX2
AUX3
COLOR_ATTACHMENT0
GL30.GL_COLOR_ATTACHMENT[1-15]
-
glNamedFramebufferDrawBuffers
public static void glNamedFramebufferDrawBuffers(int framebuffer, int buf)
DSA version ofDrawBuffers
.- Parameters:
framebuffer
- the framebuffer name
-
glNamedFramebufferReadBuffer
public static void glNamedFramebufferReadBuffer(int framebuffer, int src)
DSA version ofReadBuffer
.- Parameters:
framebuffer
- the framebuffer namesrc
- the color buffer to read from. One of:NONE
FRONT_LEFT
FRONT_RIGHT
BACK_LEFT
BACK_RIGHT
FRONT
BACK
LEFT
RIGHT
FRONT_AND_BACK
AUX0
AUX1
AUX2
AUX3
COLOR_ATTACHMENT0
GL30.GL_COLOR_ATTACHMENT[1-15]
-
glInvalidateNamedFramebufferData
public static void glInvalidateNamedFramebufferData(int framebuffer, java.nio.IntBuffer attachments)
DSA version ofInvalidateFramebuffer
.- Parameters:
framebuffer
- the framebuffer nameattachments
- the address of an array identifying the attachments to be invalidated
-
glInvalidateNamedFramebufferData
public static void glInvalidateNamedFramebufferData(int framebuffer, int attachment)
DSA version ofInvalidateFramebuffer
.- Parameters:
framebuffer
- the framebuffer name
-
glInvalidateNamedFramebufferSubData
public static void glInvalidateNamedFramebufferSubData(int framebuffer, java.nio.IntBuffer attachments, int x, int y, int width, int height)
DSA version ofInvalidateSubFramebuffer
.- Parameters:
framebuffer
- the framebuffer nameattachments
- an array identifying the attachments to be invalidatedx
- the X offset of the region to be invalidatedy
- the Y offset of the region to be invalidatedwidth
- the width of the region to be invalidatedheight
- the height of the region to be invalidated
-
glInvalidateNamedFramebufferSubData
public static void glInvalidateNamedFramebufferSubData(int framebuffer, int attachment, int x, int y, int width, int height)
DSA version ofInvalidateSubFramebuffer
.- Parameters:
framebuffer
- the framebuffer namex
- the X offset of the region to be invalidatedy
- the Y offset of the region to be invalidatedwidth
- the width of the region to be invalidatedheight
- the height of the region to be invalidated
-
glClearNamedFramebufferiv
public static void glClearNamedFramebufferiv(int framebuffer, int buffer, int drawbuffer, java.nio.IntBuffer value)
DSA version ofClearBufferiv
.- Parameters:
framebuffer
- the framebuffer namebuffer
- the buffer to clear. One of:COLOR
STENCIL
drawbuffer
- the draw buffer to clearvalue
- 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.
-
glClearNamedFramebufferuiv
public static void glClearNamedFramebufferuiv(int framebuffer, int buffer, int drawbuffer, java.nio.IntBuffer value)
DSA version ofClearBufferuiv
.- Parameters:
framebuffer
- the framebuffer namebuffer
- the buffer to clear. Must be:COLOR
drawbuffer
- the draw buffer to clearvalue
- a pointer to a four-element vector specifying R, G, B and A values to clear the buffer to
-
glClearNamedFramebufferfv
public static void glClearNamedFramebufferfv(int framebuffer, int buffer, int drawbuffer, java.nio.FloatBuffer value)
DSA version ofClearBufferfv
.- Parameters:
framebuffer
- the framebuffer namebuffer
- the buffer to clear. One of:COLOR
DEPTH
drawbuffer
- the draw buffer to clearvalue
- 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.
-
glClearNamedFramebufferfi
public static void glClearNamedFramebufferfi(int framebuffer, int buffer, int drawbuffer, float depth, int stencil)
DSA version ofClearBufferfi
.- Parameters:
framebuffer
- the framebuffer namebuffer
- the buffer to clear. Must be:DEPTH_STENCIL
drawbuffer
- the draw buffer to cleardepth
- the depth value to clear the buffer tostencil
- the stencil value to clear the buffer to
-
glBlitNamedFramebuffer
public static void glBlitNamedFramebuffer(int readFramebuffer, int drawFramebuffer, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)
DSA version ofBlitFramebuffer
.- Parameters:
readFramebuffer
- the source framebuffer namedrawFramebuffer
- the destination framebuffer namesrcX0
- the lower-left coordinate of the source rectangle within the read buffersrcY0
- the upper-left coordinate of the source rectangle within the read buffersrcX1
- the lower-right coordinate of the source rectangle within the read buffersrcY1
- the upper-right coordinate of the source rectangle within the read bufferdstX0
- the lower-left coordinate of the destination rectangle within the write bufferdstY0
- the upper-left coordinate of the destination rectangle within the write bufferdstX1
- the lower-right coordinate of the destination rectangle within the write bufferdstY1
- the upper-right coordinate of the destination rectangle within the write buffermask
- the bitwise OR of the flags indicating which buffers are to be copied. One of:COLOR_BUFFER_BIT
DEPTH_BUFFER_BIT
STENCIL_BUFFER_BIT
filter
- the interpolation to be applied if the image is stretched. One of:NEAREST
LINEAR
-
glCheckNamedFramebufferStatus
public static int glCheckNamedFramebufferStatus(int framebuffer, int target)
DSA version ofCheckFramebufferStatus
.- Parameters:
framebuffer
- the framebuffer nametarget
- the target of the framebuffer completeness check. One of:FRAMEBUFFER
READ_FRAMEBUFFER
DRAW_FRAMEBUFFER
-
glGetNamedFramebufferParameteriv
public static void glGetNamedFramebufferParameteriv(int framebuffer, int pname, java.nio.IntBuffer params)
DSA version ofGetFramebufferParameteriv
.- Parameters:
framebuffer
- the framebuffer namepname
- a token indicating the parameter to be retrieved. One of:FRAMEBUFFER_DEFAULT_WIDTH
FRAMEBUFFER_DEFAULT_HEIGHT
FRAMEBUFFER_DEFAULT_LAYERS
FRAMEBUFFER_DEFAULT_SAMPLES
FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
params
- a variable to receive the value of the parameter namedpname
-
glGetNamedFramebufferParameteri
public static int glGetNamedFramebufferParameteri(int framebuffer, int pname)
DSA version ofGetFramebufferParameteriv
.- Parameters:
framebuffer
- the framebuffer namepname
- a token indicating the parameter to be retrieved. One of:FRAMEBUFFER_DEFAULT_WIDTH
FRAMEBUFFER_DEFAULT_HEIGHT
FRAMEBUFFER_DEFAULT_LAYERS
FRAMEBUFFER_DEFAULT_SAMPLES
FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
-
glGetNamedFramebufferAttachmentParameteriv
public static void glGetNamedFramebufferAttachmentParameteriv(int framebuffer, int attachment, int pname, java.nio.IntBuffer params)
DSA version ofGetFramebufferAttachmentParameteriv
.- Parameters:
framebuffer
- the framebuffer nameattachment
- the attachment withintarget
. One of:pname
- the parameter ofattachment
to query. One of:params
- an array to receive the value of the queried parameter
-
glGetNamedFramebufferAttachmentParameteri
public static int glGetNamedFramebufferAttachmentParameteri(int framebuffer, int attachment, int pname)
DSA version ofGetFramebufferAttachmentParameteriv
.- Parameters:
framebuffer
- the framebuffer nameattachment
- the attachment withintarget
. One of:pname
- the parameter ofattachment
to query. One of:
-
glCreateRenderbuffers
public static void glCreateRenderbuffers(java.nio.IntBuffer renderbuffers)
Returnsn
previously unused renderbuffer names inrenderbuffers
, each representing a new renderbuffer object.- Parameters:
renderbuffers
- the buffer in which to store the created renderbuffer names
-
glCreateRenderbuffers
public static int glCreateRenderbuffers()
Returnsn
previously unused renderbuffer names inrenderbuffers
, each representing a new renderbuffer object.
-
glNamedRenderbufferStorage
public static void glNamedRenderbufferStorage(int renderbuffer, int internalformat, int width, int height)
DSA version ofRenderbufferStorage
.- Parameters:
renderbuffer
-internalformat
- the internal format to use for the renderbuffer object's image. Must be a color-renderable, depth-renderable, or stencil-renderable format.width
- the width of the renderbuffer, in pixelsheight
- the height of the renderbuffer, in pixels
-
glNamedRenderbufferStorageMultisample
public static void glNamedRenderbufferStorageMultisample(int renderbuffer, int samples, int internalformat, int width, int height)
DSA version ofRenderbufferStorageMultisample
.- Parameters:
renderbuffer
-samples
- the number of samples to be used for the renderbuffer object's storageinternalformat
- the internal format to use for the renderbuffer object's image. Must be a color-renderable, depth-renderable, or stencil-renderable format.width
- the width of the renderbuffer, in pixelsheight
- the height of the renderbuffer, in pixels
-
glGetNamedRenderbufferParameteriv
public static void glGetNamedRenderbufferParameteriv(int renderbuffer, int pname, java.nio.IntBuffer params)
DSA version ofGetRenderbufferParameteriv
.- Parameters:
renderbuffer
-pname
- the parameter whose value to retrieve from the renderbuffer bound totarget
. One of:params
- an array to receive the value of the queried parameter
-
glGetNamedRenderbufferParameteri
public static int glGetNamedRenderbufferParameteri(int renderbuffer, int pname)
DSA version ofGetRenderbufferParameteriv
.- Parameters:
renderbuffer
-pname
- the parameter whose value to retrieve from the renderbuffer bound totarget
. One of:
-
glCreateTextures
public static void glCreateTextures(int target, java.nio.IntBuffer textures)
Returnsn
previously unused texture names intextures
, each representing a new texture object.- Parameters:
target
- the texture target. One of:TEXTURE_1D
TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
TEXTURE_BUFFER
TEXTURE_2D_MULTISAMPLE
TEXTURE_2D_MULTISAMPLE_ARRAY
textures
- the buffer in which to store the created texture names
-
glCreateTextures
public static int glCreateTextures(int target)
Returnsn
previously unused texture names intextures
, each representing a new texture object.- Parameters:
target
- the texture target. One of:TEXTURE_1D
TEXTURE_2D
TEXTURE_1D_ARRAY
TEXTURE_RECTANGLE
TEXTURE_CUBE_MAP
TEXTURE_3D
TEXTURE_2D_ARRAY
TEXTURE_CUBE_MAP_ARRAY
TEXTURE_BUFFER
TEXTURE_2D_MULTISAMPLE
TEXTURE_2D_MULTISAMPLE_ARRAY
-
glTextureBuffer
public static void glTextureBuffer(int texture, int internalformat, int buffer)
DSA version ofTexBuffer
.- Parameters:
texture
- the texture nameinternalformat
- the sized internal format of the data in the store belonging tobuffer
buffer
- the name of the buffer object whose storage to attach to the active buffer texture
-
glTextureBufferRange
public static void glTextureBufferRange(int texture, int internalformat, int buffer, long offset, long size)
DSA version ofTexBufferRange
.- Parameters:
texture
- the texture nameinternalformat
- the internal format of the data in the store belonging tobuffer
buffer
- the name of the buffer object whose storage to attach to the active buffer textureoffset
- the offset of the start of the range of the buffer's data store to attachsize
- the size of the range of the buffer's data store to attach
-
glTextureStorage1D
public static void glTextureStorage1D(int texture, int levels, int internalformat, int width)
DSA version ofTexStorage1D
.- Parameters:
texture
- the texture namelevels
- the number of texture levelsinternalformat
- the sized internal format to be used to store texture image datawidth
- the width of the texture, in texels
-
glTextureStorage2D
public static void glTextureStorage2D(int texture, int levels, int internalformat, int width, int height)
DSA version ofTexStorage2D
.- Parameters:
texture
- the texture namelevels
- 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
-
glTextureStorage3D
public static void glTextureStorage3D(int texture, int levels, int internalformat, int width, int height, int depth)
DSA version ofTexStorage3D
.- Parameters:
texture
- the texture namelevels
- 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
-
glTextureStorage2DMultisample
public static void glTextureStorage2DMultisample(int texture, int samples, int internalformat, int width, int height, boolean fixedsamplelocations)
DSA version ofTexStorage2DMultisample
.- Parameters:
texture
- the texture namesamples
- the number of samples in the textureinternalformat
- the sized internal format to be used to store texture image datawidth
- the width of the texture, in texelsheight
- the height of the texture, in texelsfixedsamplelocations
- whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not depend on the internal format or size of the image
-
glTextureStorage3DMultisample
public static void glTextureStorage3DMultisample(int texture, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations)
DSA version ofTexStorage3DMultisample
.- Parameters:
texture
- the texture namesamples
- the number of samples in the textureinternalformat
- the sized internal format to be used to store texture image datawidth
- the width of the texture, in texelsheight
- the height of the texture, in texelsdepth
- the depth of the texture, in texelsfixedsamplelocations
- whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not depend on the internal format or size of the image
-
glTextureSubImage1D
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.ByteBuffer pixels) public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, long pixels) public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.ShortBuffer pixels) public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.IntBuffer pixels) public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.FloatBuffer pixels) public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.DoubleBuffer pixels)
DSA version ofTexSubImage1D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail-numberxoffset
- the left coordinate of the texel subregionwidth
- the subregion widthformat
- the pixel data format. One of:type
- the pixel data type. One of:pixels
- the pixel data
-
glTextureSubImage2D
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.ByteBuffer pixels) public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels) public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.ShortBuffer pixels) public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.IntBuffer pixels) public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.FloatBuffer pixels) public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.DoubleBuffer pixels)
DSA version ofTexSubImage2D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail-numberxoffset
- the left coordinate of the texel subregionyoffset
- the bottom coordinate of the texel subregionwidth
- the subregion widthheight
- the subregion heightformat
- the pixel data format. One of:type
- the pixel data type. One of:pixels
- the pixel data
-
glTextureSubImage3D
public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.ByteBuffer pixels) public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels) public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.ShortBuffer pixels) public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.IntBuffer pixels) public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.FloatBuffer pixels) public static void glTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.DoubleBuffer pixels)
DSA version ofTexSubImage3D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail-numberxoffset
- the x coordinate of the texel subregionyoffset
- the y coordinate of the texel subregionzoffset
- the z coordinate of the texel subregionwidth
- the subregion widthheight
- the subregion heightdepth
- the subregion depthformat
- the pixel data format. One of:type
- the pixel data type. One of:pixels
- the pixel data
-
glCompressedTextureSubImage1D
public static void glCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int imageSize, long data)
DSA version ofCompressedTexSubImage1D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.xoffset
- a texel offset in the x direction within the texture arraywidth
- the width of the texture subimageformat
- the format of the compressed image data stored at addressdata
. One of:imageSize
- the number of unsigned bytes of image data starting at the address specified bydata
data
- a pointer to the compressed image data
-
glCompressedTextureSubImage1D
public static void glCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format, java.nio.ByteBuffer data)
DSA version ofCompressedTexSubImage1D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.xoffset
- a texel offset in the x direction within the texture arraywidth
- the width of the texture subimageformat
- the format of the compressed image data stored at addressdata
. One of:data
- a pointer to the compressed image data
-
glCompressedTextureSubImage2D
public static void glCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, long data)
DSA version ofCompressedTexSubImage2D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.xoffset
- a texel offset in the x direction within the texture arrayyoffset
- a texel offset in the y direction within the texture arraywidth
- the width of the texture subimageheight
- the height of the texture subimageformat
- the format of the compressed image data stored at addressdata
. One of:imageSize
- the number of unsigned bytes of image data starting at the address specified bydata
data
- a pointer to the compressed image data
-
glCompressedTextureSubImage2D
public static void glCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, java.nio.ByteBuffer data)
DSA version ofCompressedTexSubImage2D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.xoffset
- a texel offset in the x direction within the texture arrayyoffset
- a texel offset in the y direction within the texture arraywidth
- the width of the texture subimageheight
- the height of the texture subimageformat
- the format of the compressed image data stored at addressdata
. One of:data
- a pointer to the compressed image data
-
glCompressedTextureSubImage3D
public static void glCompressedTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, long data)
DSA version ofCompressedTexSubImage3D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.xoffset
- a texel offset in the x direction within the texture arrayyoffset
- a texel offset in the y direction within the texture arrayzoffset
- a texel offset in the z direction within the texture arraywidth
- the width of the texture subimageheight
- the height of the texture subimagedepth
- the depth of the texture subimageformat
- the format of the compressed image data stored at addressdata
. One of:imageSize
- the number of unsigned bytes of image data starting at the address specified bydata
data
- a pointer to the compressed image data
-
glCompressedTextureSubImage3D
public static void glCompressedTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, java.nio.ByteBuffer data)
DSA version ofCompressedTexSubImage3D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.xoffset
- a texel offset in the x direction within the texture arrayyoffset
- a texel offset in the y direction within the texture arrayzoffset
- a texel offset in the z direction within the texture arraywidth
- the width of the texture subimageheight
- the height of the texture subimagedepth
- the depth of the texture subimageformat
- the format of the compressed image data stored at addressdata
. One of:data
- a pointer to the compressed image data
-
glCopyTextureSubImage1D
public static void glCopyTextureSubImage1D(int texture, int level, int xoffset, int x, int y, int width)
DSA version ofCopyTexSubImage1D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail numberxoffset
- the left texel coordinate of the texture subregion to updatex
- the left framebuffer pixel coordinatey
- the lower framebuffer pixel coordinatewidth
- the texture subregion width
-
glCopyTextureSubImage2D
public static void glCopyTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int x, int y, int width, int height)
DSA version ofCopyTexSubImage2D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail numberxoffset
- the left texel coordinate of the texture subregion to updateyoffset
- the lower texel coordinate of the texture subregion to updatex
- the left framebuffer pixel coordinatey
- the lower framebuffer pixel coordinatewidth
- the texture subregion widthheight
- the texture subregion height
-
glCopyTextureSubImage3D
public static void glCopyTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
DSA version ofCopyTexSubImage3D
.- Parameters:
texture
- the texture namelevel
- the level-of-detail numberxoffset
- the x coordinate of the texture subregion to updateyoffset
- the y coordinate of the texture subregion to updatezoffset
- the z coordinate of the texture subregion to updatex
- the left framebuffer pixel coordinatey
- the lower framebuffer pixel coordinatewidth
- the texture subregion widthheight
- the texture subregion height
-
glTextureParameterf
public static void glTextureParameterf(int texture, int pname, float param)
DSA version ofTexParameterf
.- Parameters:
texture
- the texture namepname
- the parameter to setparam
- the parameter value
-
glTextureParameterfv
public static void glTextureParameterfv(int texture, int pname, java.nio.FloatBuffer params)
DSA version ofTexParameterfv
.- Parameters:
texture
- the texture namepname
- the parameter to setparams
- the parameter value
-
glTextureParameteri
public static void glTextureParameteri(int texture, int pname, int param)
DSA version ofTexParameteri
.- Parameters:
texture
- the texture namepname
- the parameter to set. One of:param
- the parameter value
-
glTextureParameterIiv
public static void glTextureParameterIiv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofTexParameterIiv
.- Parameters:
texture
- the texture namepname
- the symbolic name of a single-valued texture parameterparams
- the value ofpname
-
glTextureParameterIi
public static void glTextureParameterIi(int texture, int pname, int param)
DSA version ofTexParameterIiv
.- Parameters:
texture
- the texture namepname
- the symbolic name of a single-valued texture parameter
-
glTextureParameterIuiv
public static void glTextureParameterIuiv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofTexParameterIuiv
.- Parameters:
texture
- the texture namepname
- the symbolic name of a single-valued texture parameterparams
- the value ofpname
-
glTextureParameterIui
public static void glTextureParameterIui(int texture, int pname, int param)
DSA version ofTexParameterIuiv
.- Parameters:
texture
- the texture namepname
- the symbolic name of a single-valued texture parameter
-
glTextureParameteriv
public static void glTextureParameteriv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofTexParameteriv
.- Parameters:
texture
- the texture namepname
- the parameter to setparams
- the parameter value
-
glGenerateTextureMipmap
public static void glGenerateTextureMipmap(int texture)
DSA version ofGenerateMipmap
.- Parameters:
texture
- the texture name
-
glBindTextureUnit
public static void glBindTextureUnit(int unit, int texture)
Binds an existing texture object to the texture unit numberedunit
.texture
must be zero or the name of an existing texture object. Whentexture
is the name of an existing texture object, that object is bound to the target, in the corresponding texture unit, that was specified when the object was created. Whentexture
is zero, each of the targets enumerated at the beginning of this section is reset to its default texture for the corresponding texture image unit.- Parameters:
unit
- the texture unit numbertexture
- the texture name
-
glGetTextureImage
public static void glGetTextureImage(int texture, int level, int format, int type, int bufSize, long pixels)
DSA version ofGetTexImage
.- Parameters:
texture
- the texture namelevel
- the level-of-detail numberformat
- the pixel format. One of:type
- the pixel type. One of:bufSize
- the size of the buffer to receive the retrieved pixel datapixels
- the buffer in which to place the returned data
-
glGetTextureImage
public static void glGetTextureImage(int texture, int level, int format, int type, java.nio.ByteBuffer pixels) public static void glGetTextureImage(int texture, int level, int format, int type, java.nio.ShortBuffer pixels) public static void glGetTextureImage(int texture, int level, int format, int type, java.nio.IntBuffer pixels) public static void glGetTextureImage(int texture, int level, int format, int type, java.nio.FloatBuffer pixels) public static void glGetTextureImage(int texture, int level, int format, int type, java.nio.DoubleBuffer pixels)
DSA version ofGetTexImage
.- Parameters:
texture
- the texture namelevel
- the level-of-detail numberformat
- the pixel format. One of:type
- the pixel type. One of:pixels
- the buffer in which to place the returned data
-
glGetCompressedTextureImage
public static void glGetCompressedTextureImage(int texture, int level, int bufSize, long pixels)
DSA version ofGetCompressedTexImage
.- Parameters:
texture
- the texture namelevel
- the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.bufSize
- the size of the buffer to receive the retrieved pixel datapixels
- a buffer in which to return the compressed texture image
-
glGetCompressedTextureImage
public static void glGetCompressedTextureImage(int texture, int level, java.nio.ByteBuffer pixels)
DSA version ofGetCompressedTexImage
.- Parameters:
texture
- the texture namelevel
- the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.pixels
- a buffer in which to return the compressed texture image
-
glGetTextureLevelParameterfv
public static void glGetTextureLevelParameterfv(int texture, int level, int pname, java.nio.FloatBuffer params)
DSA version ofGetTexLevelParameterfv
.- Parameters:
texture
- the texture namelevel
- the level-of-detail numberpname
- the parameter to queryparams
- a scalar or buffer in which to place the returned data
-
glGetTextureLevelParameterf
public static float glGetTextureLevelParameterf(int texture, int level, int pname)
DSA version ofGetTexLevelParameterfv
.- Parameters:
texture
- the texture namelevel
- the level-of-detail numberpname
- the parameter to query
-
glGetTextureLevelParameteriv
public static void glGetTextureLevelParameteriv(int texture, int level, int pname, java.nio.IntBuffer params)
DSA version ofGetTexLevelParameteriv
.- Parameters:
texture
- the texture namelevel
- the level-of-detail numberpname
- the parameter to query. One of:params
- a scalar or buffer in which to place the returned data
-
glGetTextureLevelParameteri
public static int glGetTextureLevelParameteri(int texture, int level, int pname)
DSA version ofGetTexLevelParameteriv
.- Parameters:
texture
- the texture namelevel
- the level-of-detail numberpname
- the parameter to query. One of:
-
glGetTextureParameterfv
public static void glGetTextureParameterfv(int texture, int pname, java.nio.FloatBuffer params)
DSA version ofGetTexParameterfv
.- Parameters:
texture
- the texture namepname
- the parameter to queryparams
- a scalar or buffer in which to place the returned data
-
glGetTextureParameterf
public static float glGetTextureParameterf(int texture, int pname)
DSA version ofGetTexParameterfv
.- Parameters:
texture
- the texture namepname
- the parameter to query
-
glGetTextureParameterIiv
public static void glGetTextureParameterIiv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofGetTexParameterIiv
.- Parameters:
texture
- the texture namepname
- the symbolic name of a texture parameterparams
- returns the texture parameter value
-
glGetTextureParameterIi
public static int glGetTextureParameterIi(int texture, int pname)
DSA version ofGetTexParameterIiv
.- Parameters:
texture
- the texture namepname
- the symbolic name of a texture parameter
-
glGetTextureParameterIuiv
public static void glGetTextureParameterIuiv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofGetTexParameterIuiv
.- Parameters:
texture
- the texture namepname
- the symbolic name of a texture parameterparams
- returns the texture parameter value
-
glGetTextureParameterIui
public static int glGetTextureParameterIui(int texture, int pname)
DSA version ofGetTexParameterIuiv
.- Parameters:
texture
- the texture namepname
- the symbolic name of a texture parameter
-
glGetTextureParameteriv
public static void glGetTextureParameteriv(int texture, int pname, java.nio.IntBuffer params)
DSA version ofGetTexParameteriv
.- Parameters:
texture
- the texture namepname
- the parameter to query. One of:params
- a scalar or buffer in which to place the returned data
-
glGetTextureParameteri
public static int glGetTextureParameteri(int texture, int pname)
DSA version ofGetTexParameteriv
.- Parameters:
texture
- the texture namepname
- the parameter to query. One of:
-
glCreateVertexArrays
public static void glCreateVertexArrays(java.nio.IntBuffer arrays)
Returnsn
previously unused vertex array object names inarrays
.- Parameters:
arrays
- the buffer in which to return the created vertex array object names
-
glCreateVertexArrays
public static int glCreateVertexArrays()
Returnsn
previously unused vertex array object names inarrays
.
-
glDisableVertexArrayAttrib
public static void glDisableVertexArrayAttrib(int vaobj, int index)
DSA version ofDisableVertexAttribArray
.- Parameters:
vaobj
- the vertex array object nameindex
- the index of the generic vertex attribute to be disabled
-
glEnableVertexArrayAttrib
public static void glEnableVertexArrayAttrib(int vaobj, int index)
DSA version ofEnableVertexAttribArray
.- Parameters:
vaobj
- the vertex array object nameindex
- the index of the generic vertex attribute to be enabled
-
glVertexArrayElementBuffer
public static void glVertexArrayElementBuffer(int vaobj, int buffer)
Binds a buffer object to the element array buffer bind point of a vertex array object.- Parameters:
vaobj
- the vertex array object namebuffer
- the buffer object name. Ifbuffer
is zero, any existing element array buffer binding tovaobj
is removed.
-
glVertexArrayVertexBuffer
public static void glVertexArrayVertexBuffer(int vaobj, int bindingindex, int buffer, long offset, int stride)
DSA version ofBindVertexBuffer
.- Parameters:
vaobj
- the vertex array object namebindingindex
- the index of the vertex buffer binding point to which to bind the bufferbuffer
- the name of an existing buffer to bind to the vertex buffer binding pointoffset
- the offset of the first element of the bufferstride
- the distance between elements within the buffer
-
glVertexArrayVertexBuffers
public static void glVertexArrayVertexBuffers(int vaobj, int first, java.nio.IntBuffer buffers, org.lwjgl.PointerBuffer offsets, java.nio.IntBuffer strides)
DSA version ofBindVertexBuffers
.- Parameters:
vaobj
- the vertex array object namefirst
- the first vertex buffer binding pointbuffers
- an array of zeros or names of existing buffers objectsoffsets
- an array of offsesstrides
- an array of stride values
-
glVertexArrayAttribFormat
public static void glVertexArrayAttribFormat(int vaobj, int attribindex, int size, int type, boolean normalized, int relativeoffset)
DSA version ofVertexAttribFormat
.- Parameters:
vaobj
- the vertex array object nameattribindex
- the generic vertex attribute array being describedsize
- the number of values per vertex that are stored in the array. One of:1 2 3 4 BGRA
type
- the type of the data stored in the arraynormalized
- if true then integer data is normalized to the range [-1, 1] or [0, 1] if it is signed or unsigned, respectively. If false then integer data is directly converted to floating point.relativeoffset
- the offset, measured in basic machine units of the first element relative to the start of the vertex buffer binding this attribute fetches from
-
glVertexArrayAttribIFormat
public static void glVertexArrayAttribIFormat(int vaobj, int attribindex, int size, int type, int relativeoffset)
DSA version ofVertexAttribIFormat
.- Parameters:
vaobj
- the vertex array object nameattribindex
- the generic vertex attribute array being describedsize
- the number of values per vertex that are stored in the array. One of:1 2 3 4 BGRA
type
- the type of the data stored in the arrayrelativeoffset
- the offset, measured in basic machine units of the first element relative to the start of the vertex buffer binding this attribute fetches from
-
glVertexArrayAttribLFormat
public static void glVertexArrayAttribLFormat(int vaobj, int attribindex, int size, int type, int relativeoffset)
DSA version ofVertexAttribLFormat
.- Parameters:
vaobj
- the vertex array object nameattribindex
- the generic vertex attribute array being describedsize
- the number of values per vertex that are stored in the array. One of:1 2 3 4 BGRA
type
- the type of the data stored in the arrayrelativeoffset
- the offset, measured in basic machine units of the first element relative to the start of the vertex buffer binding this attribute fetches from
-
glVertexArrayAttribBinding
public static void glVertexArrayAttribBinding(int vaobj, int attribindex, int bindingindex)
DSA version ofVertexAttribBinding
.- Parameters:
vaobj
- the vertex array object nameattribindex
- the index of the attribute to associate with a vertex buffer bindingbindingindex
- the index of the vertex buffer binding with which to associate the generic vertex attribute
-
glVertexArrayBindingDivisor
public static void glVertexArrayBindingDivisor(int vaobj, int bindingindex, int divisor)
DSA version ofVertexBindingDivisor
.- Parameters:
vaobj
- the vertex array object namebindingindex
- the index of the generic vertex attributedivisor
- the number of instances that will pass between updates of the generic attribute at slotindex
-
glGetVertexArrayiv
public static void glGetVertexArrayiv(int vaobj, int pname, java.nio.IntBuffer param)
Queries parameters of a vertex array object.- Parameters:
vaobj
- the vertex array object namepname
- the parameter to query. Must be:ELEMENT_ARRAY_BUFFER_BINDING
param
- the buffer in which to return the parameter values
-
glGetVertexArrayi
public static int glGetVertexArrayi(int vaobj, int pname)
Queries parameters of a vertex array object.- Parameters:
vaobj
- the vertex array object namepname
- the parameter to query. Must be:ELEMENT_ARRAY_BUFFER_BINDING
-
glGetVertexArrayIndexediv
public static void glGetVertexArrayIndexediv(int vaobj, int index, int pname, java.nio.IntBuffer param)
Queries parameters of an attribute of a vertex array object.- Parameters:
vaobj
- the vertex array object nameindex
- the attribute to querypname
- the parameter to query. One of:param
- the buffer in which to return the parameter values
-
glGetVertexArrayIndexedi
public static int glGetVertexArrayIndexedi(int vaobj, int index, int pname)
Queries parameters of an attribute of a vertex array object.- Parameters:
vaobj
- the vertex array object nameindex
- the attribute to querypname
- the parameter to query. One of:
-
glGetVertexArrayIndexed64iv
public static void glGetVertexArrayIndexed64iv(int vaobj, int index, int pname, java.nio.LongBuffer param)
Queries parameters of an attribute of a vertex array object.- Parameters:
vaobj
- the vertex array object nameindex
- the attribute to querypname
- the parameter to query. Must be:VERTEX_BINDING_OFFSET
param
- the buffer in which to return the parameter values
-
glGetVertexArrayIndexed64i
public static long glGetVertexArrayIndexed64i(int vaobj, int index, int pname)
Queries parameters of an attribute of a vertex array object.- Parameters:
vaobj
- the vertex array object nameindex
- the attribute to querypname
- the parameter to query. Must be:VERTEX_BINDING_OFFSET
-
glCreateSamplers
public static void glCreateSamplers(java.nio.IntBuffer samplers)
Returnsn
previously unused sampler names insamplers
, each representing a new sampler object.- Parameters:
samplers
- the buffer in which to return the created sampler object names
-
glCreateSamplers
public static int glCreateSamplers()
Returnsn
previously unused sampler names insamplers
, each representing a new sampler object.
-
glCreateProgramPipelines
public static void glCreateProgramPipelines(java.nio.IntBuffer pipelines)
Returnsn
previously unused program pipeline names inpipelines
, each representing a new program pipeline object.- Parameters:
pipelines
- the buffer in which to return the created program pipeline names
-
glCreateProgramPipelines
public static int glCreateProgramPipelines()
Returnsn
previously unused program pipeline names inpipelines
, each representing a new program pipeline object.
-
glCreateQueries
public static void glCreateQueries(int target, java.nio.IntBuffer ids)
Returnsn
previously unused query object names inids
, each representing a new query object with the specifiedtarget
.- Parameters:
target
- the query target. One of:SAMPLES_PASSED
PRIMITIVES_GENERATED
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
TIME_ELAPSED
TIMESTAMP
ANY_SAMPLES_PASSED
ANY_SAMPLES_PASSED_CONSERVATIVE
ids
- the buffer in which to return the created query object names
-
glCreateQueries
public static int glCreateQueries(int target)
Returnsn
previously unused query object names inids
, each representing a new query object with the specifiedtarget
.- Parameters:
target
- the query target. One of:SAMPLES_PASSED
PRIMITIVES_GENERATED
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
TIME_ELAPSED
TIMESTAMP
ANY_SAMPLES_PASSED
ANY_SAMPLES_PASSED_CONSERVATIVE
-
glGetQueryBufferObjecti64v
public static void glGetQueryBufferObjecti64v(int id, int buffer, int pname, long offset)
64bit version ofGetQueryBufferObjectiv
.- Parameters:
id
- the name of a query objectbuffer
- the name of a buffer objectpname
- the state to queryoffset
- the offset intobuffer
at which the queried value is written
-
glGetQueryBufferObjectiv
public static void glGetQueryBufferObjectiv(int id, int buffer, int pname, long offset)
Queries the state of a query object.- Parameters:
id
- the name of a query objectbuffer
- the name of a buffer objectpname
- the state to queryoffset
- the offset intobuffer
at which the queried value is written
-
glGetQueryBufferObjectui64v
public static void glGetQueryBufferObjectui64v(int id, int buffer, int pname, long offset)
64bit version ofGetQueryBufferObjectuiv
.- Parameters:
id
- the name of a query objectbuffer
- the name of a buffer objectpname
- the state to queryoffset
- the offset intobuffer
at which the queried value is written
-
glGetQueryBufferObjectuiv
public static void glGetQueryBufferObjectuiv(int id, int buffer, int pname, long offset)
Unsigned version ofGetQueryBufferObjectiv
.- Parameters:
id
- the name of a query objectbuffer
- the name of a buffer objectpname
- the state to queryoffset
- the offset intobuffer
at which the queried value is written
-
glCreateTransformFeedbacks
public static void glCreateTransformFeedbacks(int[] ids)
Array version of:CreateTransformFeedbacks
-
glGetTransformFeedbackiv
public static void glGetTransformFeedbackiv(int xfb, int pname, int[] param)
Array version of:GetTransformFeedbackiv
-
glGetTransformFeedbacki_v
public static void glGetTransformFeedbacki_v(int xfb, int pname, int index, int[] param)
Array version of:GetTransformFeedbacki_v
-
glGetTransformFeedbacki64_v
public static void glGetTransformFeedbacki64_v(int xfb, int pname, int index, long[] param)
Array version of:GetTransformFeedbacki64_v
-
glCreateBuffers
public static void glCreateBuffers(int[] buffers)
Array version of:CreateBuffers
-
glNamedBufferStorage
public static void glNamedBufferStorage(int buffer, short[] data, int flags) public static void glNamedBufferStorage(int buffer, int[] data, int flags) public static void glNamedBufferStorage(int buffer, float[] data, int flags) public static void glNamedBufferStorage(int buffer, double[] data, int flags)
Array version of:NamedBufferStorage
-
glNamedBufferData
public static void glNamedBufferData(int buffer, short[] data, int usage) public static void glNamedBufferData(int buffer, int[] data, int usage) public static void glNamedBufferData(int buffer, float[] data, int usage) public static void glNamedBufferData(int buffer, double[] data, int usage)
Array version of:NamedBufferData
-
glNamedBufferSubData
public static void glNamedBufferSubData(int buffer, long offset, short[] data) public static void glNamedBufferSubData(int buffer, long offset, int[] data) public static void glNamedBufferSubData(int buffer, long offset, float[] data) public static void glNamedBufferSubData(int buffer, long offset, double[] data)
Array version of:NamedBufferSubData
-
glClearNamedBufferData
public static void glClearNamedBufferData(int buffer, int internalformat, int format, int type, short[] data) public static void glClearNamedBufferData(int buffer, int internalformat, int format, int type, int[] data) public static void glClearNamedBufferData(int buffer, int internalformat, int format, int type, float[] data)
Array version of:ClearNamedBufferData
-
glClearNamedBufferSubData
public static void glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, short[] data) public static void glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, int[] data) public static void glClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, float[] data)
Array version of:ClearNamedBufferSubData
-
glGetNamedBufferParameteriv
public static void glGetNamedBufferParameteriv(int buffer, int pname, int[] params)
Array version of:GetNamedBufferParameteriv
-
glGetNamedBufferParameteri64v
public static void glGetNamedBufferParameteri64v(int buffer, int pname, long[] params)
Array version of:GetNamedBufferParameteri64v
-
glGetNamedBufferSubData
public static void glGetNamedBufferSubData(int buffer, long offset, short[] data) public static void glGetNamedBufferSubData(int buffer, long offset, int[] data) public static void glGetNamedBufferSubData(int buffer, long offset, float[] data) public static void glGetNamedBufferSubData(int buffer, long offset, double[] data)
Array version of:GetNamedBufferSubData
-
glCreateFramebuffers
public static void glCreateFramebuffers(int[] framebuffers)
Array version of:CreateFramebuffers
-
glNamedFramebufferDrawBuffers
public static void glNamedFramebufferDrawBuffers(int framebuffer, int[] bufs)
Array version of:NamedFramebufferDrawBuffers
-
glInvalidateNamedFramebufferData
public static void glInvalidateNamedFramebufferData(int framebuffer, int[] attachments)
Array version of:InvalidateNamedFramebufferData
-
glInvalidateNamedFramebufferSubData
public static void glInvalidateNamedFramebufferSubData(int framebuffer, int[] attachments, int x, int y, int width, int height)
Array version of:InvalidateNamedFramebufferSubData
-
glClearNamedFramebufferiv
public static void glClearNamedFramebufferiv(int framebuffer, int buffer, int drawbuffer, int[] value)
Array version of:ClearNamedFramebufferiv
-
glClearNamedFramebufferuiv
public static void glClearNamedFramebufferuiv(int framebuffer, int buffer, int drawbuffer, int[] value)
Array version of:ClearNamedFramebufferuiv
-
glClearNamedFramebufferfv
public static void glClearNamedFramebufferfv(int framebuffer, int buffer, int drawbuffer, float[] value)
Array version of:ClearNamedFramebufferfv
-
glGetNamedFramebufferParameteriv
public static void glGetNamedFramebufferParameteriv(int framebuffer, int pname, int[] params)
Array version of:GetNamedFramebufferParameteriv
-
glGetNamedFramebufferAttachmentParameteriv
public static void glGetNamedFramebufferAttachmentParameteriv(int framebuffer, int attachment, int pname, int[] params)
Array version of:GetNamedFramebufferAttachmentParameteriv
-
glCreateRenderbuffers
public static void glCreateRenderbuffers(int[] renderbuffers)
Array version of:CreateRenderbuffers
-
glGetNamedRenderbufferParameteriv
public static void glGetNamedRenderbufferParameteriv(int renderbuffer, int pname, int[] params)
Array version of:GetNamedRenderbufferParameteriv
-
glCreateTextures
public static void glCreateTextures(int target, int[] textures)
Array version of:CreateTextures
-
glTextureSubImage1D
public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, short[] pixels) public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, int[] pixels) public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, float[] pixels) public static void glTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, double[] pixels)
Array version of:TextureSubImage1D
-
glTextureSubImage2D
public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels) public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels) public static void glTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels) 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
-
glTextureSubImage3D
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) 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) 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) 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
-
glTextureParameterfv
public static void glTextureParameterfv(int texture, int pname, float[] params)
Array version of:TextureParameterfv
-
glTextureParameterIiv
public static void glTextureParameterIiv(int texture, int pname, int[] params)
Array version of:TextureParameterIiv
-
glTextureParameterIuiv
public static void glTextureParameterIuiv(int texture, int pname, int[] params)
Array version of:TextureParameterIuiv
-
glTextureParameteriv
public static void glTextureParameteriv(int texture, int pname, int[] params)
Array version of:TextureParameteriv
-
glGetTextureImage
public static void glGetTextureImage(int texture, int level, int format, int type, short[] pixels) public static void glGetTextureImage(int texture, int level, int format, int type, int[] pixels) public static void glGetTextureImage(int texture, int level, int format, int type, float[] pixels) public static void glGetTextureImage(int texture, int level, int format, int type, double[] pixels)
Array version of:GetTextureImage
-
glGetTextureLevelParameterfv
public static void glGetTextureLevelParameterfv(int texture, int level, int pname, float[] params)
Array version of:GetTextureLevelParameterfv
-
glGetTextureLevelParameteriv
public static void glGetTextureLevelParameteriv(int texture, int level, int pname, int[] params)
Array version of:GetTextureLevelParameteriv
-
glGetTextureParameterfv
public static void glGetTextureParameterfv(int texture, int pname, float[] params)
Array version of:GetTextureParameterfv
-
glGetTextureParameterIiv
public static void glGetTextureParameterIiv(int texture, int pname, int[] params)
Array version of:GetTextureParameterIiv
-
glGetTextureParameterIuiv
public static void glGetTextureParameterIuiv(int texture, int pname, int[] params)
Array version of:GetTextureParameterIuiv
-
glGetTextureParameteriv
public static void glGetTextureParameteriv(int texture, int pname, int[] params)
Array version of:GetTextureParameteriv
-
glCreateVertexArrays
public static void glCreateVertexArrays(int[] arrays)
Array version of:CreateVertexArrays
-
glVertexArrayVertexBuffers
public static void glVertexArrayVertexBuffers(int vaobj, int first, int[] buffers, org.lwjgl.PointerBuffer offsets, int[] strides)
Array version of:VertexArrayVertexBuffers
-
glGetVertexArrayiv
public static void glGetVertexArrayiv(int vaobj, int pname, int[] param)
Array version of:GetVertexArrayiv
-
glGetVertexArrayIndexediv
public static void glGetVertexArrayIndexediv(int vaobj, int index, int pname, int[] param)
Array version of:GetVertexArrayIndexediv
-
glGetVertexArrayIndexed64iv
public static void glGetVertexArrayIndexed64iv(int vaobj, int index, int pname, long[] param)
Array version of:GetVertexArrayIndexed64iv
-
glCreateSamplers
public static void glCreateSamplers(int[] samplers)
Array version of:CreateSamplers
-
glCreateProgramPipelines
public static void glCreateProgramPipelines(int[] pipelines)
Array version of:CreateProgramPipelines
-
glCreateQueries
public static void glCreateQueries(int target, int[] ids)
Array version of:CreateQueries
-
-