Class ARBDirectStateAccess
- java.lang.Object
-
- org.lwjgl.opengl.ARBDirectStateAccess
-
public class ARBDirectStateAccess extends java.lang.ObjectNative 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 intGL_QUERY_TARGETAccepted by thepnameparameter of GetQueryObjectiv.static intGL_TEXTURE_TARGETAccepted by thepnameparameter of GetTextureParameter{if}v and GetTextureParameterI{i ui}v.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglBindTextureUnit(int unit, int texture)Binds an existing texture object to the texture unit numberedunit.static voidglBlitNamedFramebuffer(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 intglCheckNamedFramebufferStatus(int framebuffer, int target)DSA version ofCheckFramebufferStatus.static voidglClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.ByteBuffer data)DSA version ofClearBufferData.static voidglClearNamedBufferData(int buffer, int internalformat, int format, int type, float[] data)Array version of:ClearNamedBufferDatastatic voidglClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.FloatBuffer data)DSA version ofClearBufferData.static voidglClearNamedBufferData(int buffer, int internalformat, int format, int type, int[] data)Array version of:ClearNamedBufferDatastatic voidglClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.IntBuffer data)DSA version ofClearBufferData.static voidglClearNamedBufferData(int buffer, int internalformat, int format, int type, short[] data)Array version of:ClearNamedBufferDatastatic voidglClearNamedBufferData(int buffer, int internalformat, int format, int type, java.nio.ShortBuffer data)DSA version ofClearBufferData.static voidglClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.ByteBuffer data)DSA version ofClearBufferSubData.static voidglClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, float[] data)Array version of:ClearNamedBufferSubDatastatic voidglClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.FloatBuffer data)DSA version ofClearBufferSubData.static voidglClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, int[] data)Array version of:ClearNamedBufferSubDatastatic voidglClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.IntBuffer data)DSA version ofClearBufferSubData.static voidglClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, short[] data)Array version of:ClearNamedBufferSubDatastatic voidglClearNamedBufferSubData(int buffer, int internalformat, long offset, long size, int format, int type, java.nio.ShortBuffer data)DSA version ofClearBufferSubData.static voidglClearNamedFramebufferfi(int framebuffer, int buffer, int drawbuffer, float depth, int stencil)DSA version ofClearBufferfi.static voidglClearNamedFramebufferfv(int framebuffer, int buffer, int drawbuffer, float[] value)Array version of:ClearNamedFramebufferfvstatic voidglClearNamedFramebufferfv(int framebuffer, int buffer, int drawbuffer, java.nio.FloatBuffer value)DSA version ofClearBufferfv.static voidglClearNamedFramebufferiv(int framebuffer, int buffer, int drawbuffer, int[] value)Array version of:ClearNamedFramebufferivstatic voidglClearNamedFramebufferiv(int framebuffer, int buffer, int drawbuffer, java.nio.IntBuffer value)DSA version ofClearBufferiv.static voidglClearNamedFramebufferuiv(int framebuffer, int buffer, int drawbuffer, int[] value)Array version of:ClearNamedFramebufferuivstatic voidglClearNamedFramebufferuiv(int framebuffer, int buffer, int drawbuffer, java.nio.IntBuffer value)DSA version ofClearBufferuiv.static voidglCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format, java.nio.ByteBuffer data)DSA version ofCompressedTexSubImage1D.static voidglCompressedTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int imageSize, long data)DSA version ofCompressedTexSubImage1D.static voidglCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, java.nio.ByteBuffer data)DSA version ofCompressedTexSubImage2D.static voidglCompressedTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, long data)DSA version ofCompressedTexSubImage2D.static voidglCompressedTextureSubImage3D(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 voidglCompressedTextureSubImage3D(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 voidglCopyNamedBufferSubData(int readBuffer, int writeBuffer, long readOffset, long writeOffset, long size)DSA version ofCopyBufferSubData.static voidglCopyTextureSubImage1D(int texture, int level, int xoffset, int x, int y, int width)DSA version ofCopyTexSubImage1D.static voidglCopyTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int x, int y, int width, int height)DSA version ofCopyTexSubImage2D.static voidglCopyTextureSubImage3D(int texture, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)DSA version ofCopyTexSubImage3D.static intglCreateBuffers()Returnsnpreviously unused buffer names inbuffers, each representing a new buffer object initialized as if it had been bound to an unspecified target.static voidglCreateBuffers(int[] buffers)Array version of:CreateBuffersstatic voidglCreateBuffers(java.nio.IntBuffer buffers)Returnsnpreviously unused buffer names inbuffers, each representing a new buffer object initialized as if it had been bound to an unspecified target.static intglCreateFramebuffers()Returnsnpreviously unused framebuffer names inframebuffers, each representing a new framebuffer object.static voidglCreateFramebuffers(int[] framebuffers)Array version of:CreateFramebuffersstatic voidglCreateFramebuffers(java.nio.IntBuffer framebuffers)Returnsnpreviously unused framebuffer names inframebuffers, each representing a new framebuffer object.static intglCreateProgramPipelines()Returnsnpreviously unused program pipeline names inpipelines, each representing a new program pipeline object.static voidglCreateProgramPipelines(int[] pipelines)Array version of:CreateProgramPipelinesstatic voidglCreateProgramPipelines(java.nio.IntBuffer pipelines)Returnsnpreviously unused program pipeline names inpipelines, each representing a new program pipeline object.static intglCreateQueries(int target)Returnsnpreviously unused query object names inids, each representing a new query object with the specifiedtarget.static voidglCreateQueries(int target, int[] ids)Array version of:CreateQueriesstatic voidglCreateQueries(int target, java.nio.IntBuffer ids)Returnsnpreviously unused query object names inids, each representing a new query object with the specifiedtarget.static intglCreateRenderbuffers()Returnsnpreviously unused renderbuffer names inrenderbuffers, each representing a new renderbuffer object.static voidglCreateRenderbuffers(int[] renderbuffers)Array version of:CreateRenderbuffersstatic voidglCreateRenderbuffers(java.nio.IntBuffer renderbuffers)Returnsnpreviously unused renderbuffer names inrenderbuffers, each representing a new renderbuffer object.static intglCreateSamplers()Returnsnpreviously unused sampler names insamplers, each representing a new sampler object.static voidglCreateSamplers(int[] samplers)Array version of:CreateSamplersstatic voidglCreateSamplers(java.nio.IntBuffer samplers)Returnsnpreviously unused sampler names insamplers, each representing a new sampler object.static intglCreateTextures(int target)Returnsnpreviously unused texture names intextures, each representing a new texture object.static voidglCreateTextures(int target, int[] textures)Array version of:CreateTexturesstatic voidglCreateTextures(int target, java.nio.IntBuffer textures)Returnsnpreviously unused texture names intextures, each representing a new texture object.static intglCreateTransformFeedbacks()Returnsnpreviously unused transform feedback object names inids, each representing a new state vector.static voidglCreateTransformFeedbacks(int[] ids)Array version of:CreateTransformFeedbacksstatic voidglCreateTransformFeedbacks(java.nio.IntBuffer ids)Returnsnpreviously unused transform feedback object names inids, each representing a new state vector.static intglCreateVertexArrays()Returnsnpreviously unused vertex array object names inarrays.static voidglCreateVertexArrays(int[] arrays)Array version of:CreateVertexArraysstatic voidglCreateVertexArrays(java.nio.IntBuffer arrays)Returnsnpreviously unused vertex array object names inarrays.static voidglDisableVertexArrayAttrib(int vaobj, int index)DSA version ofDisableVertexAttribArray.static voidglEnableVertexArrayAttrib(int vaobj, int index)DSA version ofEnableVertexAttribArray.static voidglFlushMappedNamedBufferRange(int buffer, long offset, long length)DSA version ofFlushMappedBufferRange.static voidglGenerateTextureMipmap(int texture)DSA version ofGenerateMipmap.static voidglGetCompressedTextureImage(int texture, int level, java.nio.ByteBuffer pixels)DSA version ofGetCompressedTexImage.static voidglGetCompressedTextureImage(int texture, int level, int bufSize, long pixels)DSA version ofGetCompressedTexImage.static intglGetNamedBufferParameteri(int buffer, int pname)DSA version ofGetBufferParameteriv.static longglGetNamedBufferParameteri64(int buffer, int pname)DSA version ofGetBufferParameteri64v.static voidglGetNamedBufferParameteri64v(int buffer, int pname, long[] params)Array version of:GetNamedBufferParameteri64vstatic voidglGetNamedBufferParameteri64v(int buffer, int pname, java.nio.LongBuffer params)DSA version ofGetBufferParameteri64v.static voidglGetNamedBufferParameteriv(int buffer, int pname, int[] params)Array version of:GetNamedBufferParameterivstatic voidglGetNamedBufferParameteriv(int buffer, int pname, java.nio.IntBuffer params)DSA version ofGetBufferParameteriv.static longglGetNamedBufferPointer(int buffer, int pname)DSA version ofGetBufferPointerv.static voidglGetNamedBufferPointerv(int buffer, int pname, org.lwjgl.PointerBuffer params)DSA version ofGetBufferPointerv.static voidglGetNamedBufferSubData(int buffer, long offset, java.nio.ByteBuffer data)DSA version ofGetBufferSubData.static voidglGetNamedBufferSubData(int buffer, long offset, double[] data)Array version of:GetNamedBufferSubDatastatic voidglGetNamedBufferSubData(int buffer, long offset, java.nio.DoubleBuffer data)DSA version ofGetBufferSubData.static voidglGetNamedBufferSubData(int buffer, long offset, float[] data)Array version of:GetNamedBufferSubDatastatic voidglGetNamedBufferSubData(int buffer, long offset, java.nio.FloatBuffer data)DSA version ofGetBufferSubData.static voidglGetNamedBufferSubData(int buffer, long offset, int[] data)Array version of:GetNamedBufferSubDatastatic voidglGetNamedBufferSubData(int buffer, long offset, java.nio.IntBuffer data)DSA version ofGetBufferSubData.static voidglGetNamedBufferSubData(int buffer, long offset, short[] data)Array version of:GetNamedBufferSubDatastatic voidglGetNamedBufferSubData(int buffer, long offset, java.nio.ShortBuffer data)DSA version ofGetBufferSubData.static intglGetNamedFramebufferAttachmentParameteri(int framebuffer, int attachment, int pname)DSA version ofGetFramebufferAttachmentParameteriv.static voidglGetNamedFramebufferAttachmentParameteriv(int framebuffer, int attachment, int pname, int[] params)Array version of:GetNamedFramebufferAttachmentParameterivstatic voidglGetNamedFramebufferAttachmentParameteriv(int framebuffer, int attachment, int pname, java.nio.IntBuffer params)DSA version ofGetFramebufferAttachmentParameteriv.static intglGetNamedFramebufferParameteri(int framebuffer, int pname)DSA version ofGetFramebufferParameteriv.static voidglGetNamedFramebufferParameteriv(int framebuffer, int pname, int[] params)Array version of:GetNamedFramebufferParameterivstatic voidglGetNamedFramebufferParameteriv(int framebuffer, int pname, java.nio.IntBuffer params)DSA version ofGetFramebufferParameteriv.static intglGetNamedRenderbufferParameteri(int renderbuffer, int pname)DSA version ofGetRenderbufferParameteriv.static voidglGetNamedRenderbufferParameteriv(int renderbuffer, int pname, int[] params)Array version of:GetNamedRenderbufferParameterivstatic voidglGetNamedRenderbufferParameteriv(int renderbuffer, int pname, java.nio.IntBuffer params)DSA version ofGetRenderbufferParameteriv.static voidglGetQueryBufferObjecti64v(int id, int buffer, int pname, long offset)64bit version ofGetQueryBufferObjectiv.static voidglGetQueryBufferObjectiv(int id, int buffer, int pname, long offset)Queries the state of a query object.static voidglGetQueryBufferObjectui64v(int id, int buffer, int pname, long offset)64bit version ofGetQueryBufferObjectuiv.static voidglGetQueryBufferObjectuiv(int id, int buffer, int pname, long offset)Unsigned version ofGetQueryBufferObjectiv.static voidglGetTextureImage(int texture, int level, int format, int type, java.nio.ByteBuffer pixels)DSA version ofGetTexImage.static voidglGetTextureImage(int texture, int level, int format, int type, double[] pixels)Array version of:GetTextureImagestatic voidglGetTextureImage(int texture, int level, int format, int type, java.nio.DoubleBuffer pixels)DSA version ofGetTexImage.static voidglGetTextureImage(int texture, int level, int format, int type, float[] pixels)Array version of:GetTextureImagestatic voidglGetTextureImage(int texture, int level, int format, int type, java.nio.FloatBuffer pixels)DSA version ofGetTexImage.static voidglGetTextureImage(int texture, int level, int format, int type, int[] pixels)Array version of:GetTextureImagestatic voidglGetTextureImage(int texture, int level, int format, int type, java.nio.IntBuffer pixels)DSA version ofGetTexImage.static voidglGetTextureImage(int texture, int level, int format, int type, int bufSize, long pixels)DSA version ofGetTexImage.static voidglGetTextureImage(int texture, int level, int format, int type, short[] pixels)Array version of:GetTextureImagestatic voidglGetTextureImage(int texture, int level, int format, int type, java.nio.ShortBuffer pixels)DSA version ofGetTexImage.static floatglGetTextureLevelParameterf(int texture, int level, int pname)DSA version ofGetTexLevelParameterfv.static voidglGetTextureLevelParameterfv(int texture, int level, int pname, float[] params)Array version of:GetTextureLevelParameterfvstatic voidglGetTextureLevelParameterfv(int texture, int level, int pname, java.nio.FloatBuffer params)DSA version ofGetTexLevelParameterfv.static intglGetTextureLevelParameteri(int texture, int level, int pname)DSA version ofGetTexLevelParameteriv.static voidglGetTextureLevelParameteriv(int texture, int level, int pname, int[] params)Array version of:GetTextureLevelParameterivstatic voidglGetTextureLevelParameteriv(int texture, int level, int pname, java.nio.IntBuffer params)DSA version ofGetTexLevelParameteriv.static floatglGetTextureParameterf(int texture, int pname)DSA version ofGetTexParameterfv.static voidglGetTextureParameterfv(int texture, int pname, float[] params)Array version of:GetTextureParameterfvstatic voidglGetTextureParameterfv(int texture, int pname, java.nio.FloatBuffer params)DSA version ofGetTexParameterfv.static intglGetTextureParameteri(int texture, int pname)DSA version ofGetTexParameteriv.static intglGetTextureParameterIi(int texture, int pname)DSA version ofGetTexParameterIiv.static voidglGetTextureParameterIiv(int texture, int pname, int[] params)Array version of:GetTextureParameterIivstatic voidglGetTextureParameterIiv(int texture, int pname, java.nio.IntBuffer params)DSA version ofGetTexParameterIiv.static intglGetTextureParameterIui(int texture, int pname)DSA version ofGetTexParameterIuiv.static voidglGetTextureParameterIuiv(int texture, int pname, int[] params)Array version of:GetTextureParameterIuivstatic voidglGetTextureParameterIuiv(int texture, int pname, java.nio.IntBuffer params)DSA version ofGetTexParameterIuiv.static voidglGetTextureParameteriv(int texture, int pname, int[] params)Array version of:GetTextureParameterivstatic voidglGetTextureParameteriv(int texture, int pname, java.nio.IntBuffer params)DSA version ofGetTexParameteriv.static voidglGetTransformFeedbacki_v(int xfb, int pname, int index, int[] param)Array version of:GetTransformFeedbacki_vstatic voidglGetTransformFeedbacki_v(int xfb, int pname, int index, java.nio.IntBuffer param)Returns information about a transform feedback object.static intglGetTransformFeedbacki(int xfb, int pname)Returns information about a transform feedback object.static intglGetTransformFeedbacki(int xfb, int pname, int index)Returns information about a transform feedback object.static voidglGetTransformFeedbacki64_v(int xfb, int pname, int index, long[] param)Array version of:GetTransformFeedbacki64_vstatic voidglGetTransformFeedbacki64_v(int xfb, int pname, int index, java.nio.LongBuffer param)Returns information about a transform feedback object.static longglGetTransformFeedbacki64(int xfb, int pname, int index)Returns information about a transform feedback object.static voidglGetTransformFeedbackiv(int xfb, int pname, int[] param)Array version of:GetTransformFeedbackivstatic voidglGetTransformFeedbackiv(int xfb, int pname, java.nio.IntBuffer param)Returns information about a transform feedback object.static intglGetVertexArrayi(int vaobj, int pname)Queries parameters of a vertex array object.static longglGetVertexArrayIndexed64i(int vaobj, int index, int pname)Queries parameters of an attribute of a vertex array object.static voidglGetVertexArrayIndexed64iv(int vaobj, int index, int pname, long[] param)Array version of:GetVertexArrayIndexed64ivstatic voidglGetVertexArrayIndexed64iv(int vaobj, int index, int pname, java.nio.LongBuffer param)Queries parameters of an attribute of a vertex array object.static intglGetVertexArrayIndexedi(int vaobj, int index, int pname)Queries parameters of an attribute of a vertex array object.static voidglGetVertexArrayIndexediv(int vaobj, int index, int pname, int[] param)Array version of:GetVertexArrayIndexedivstatic voidglGetVertexArrayIndexediv(int vaobj, int index, int pname, java.nio.IntBuffer param)Queries parameters of an attribute of a vertex array object.static voidglGetVertexArrayiv(int vaobj, int pname, int[] param)Array version of:GetVertexArrayivstatic voidglGetVertexArrayiv(int vaobj, int pname, java.nio.IntBuffer param)Queries parameters of a vertex array object.static voidglInvalidateNamedFramebufferData(int framebuffer, int attachment)DSA version ofInvalidateFramebuffer.static voidglInvalidateNamedFramebufferData(int framebuffer, int[] attachments)Array version of:InvalidateNamedFramebufferDatastatic voidglInvalidateNamedFramebufferData(int framebuffer, java.nio.IntBuffer attachments)DSA version ofInvalidateFramebuffer.static voidglInvalidateNamedFramebufferSubData(int framebuffer, int[] attachments, int x, int y, int width, int height)Array version of:InvalidateNamedFramebufferSubDatastatic voidglInvalidateNamedFramebufferSubData(int framebuffer, java.nio.IntBuffer attachments, int x, int y, int width, int height)DSA version ofInvalidateSubFramebuffer.static voidglInvalidateNamedFramebufferSubData(int framebuffer, int attachment, int x, int y, int width, int height)DSA version ofInvalidateSubFramebuffer.static java.nio.ByteBufferglMapNamedBuffer(int buffer, int access)DSA version ofMapBuffer.static java.nio.ByteBufferglMapNamedBuffer(int buffer, int access, java.nio.ByteBuffer old_buffer)DSA version ofMapBuffer.static java.nio.ByteBufferglMapNamedBuffer(int buffer, int access, long length, java.nio.ByteBuffer old_buffer)DSA version ofMapBuffer.static java.nio.ByteBufferglMapNamedBufferRange(int buffer, long offset, long length, int access)DSA version ofMapBufferRange.static java.nio.ByteBufferglMapNamedBufferRange(int buffer, long offset, long length, int access, java.nio.ByteBuffer old_buffer)DSA version ofMapBufferRange.static voidglNamedBufferData(int buffer, java.nio.ByteBuffer data, int usage)DSA version ofBufferData.static voidglNamedBufferData(int buffer, double[] data, int usage)Array version of:NamedBufferDatastatic voidglNamedBufferData(int buffer, java.nio.DoubleBuffer data, int usage)DSA version ofBufferData.static voidglNamedBufferData(int buffer, float[] data, int usage)Array version of:NamedBufferDatastatic voidglNamedBufferData(int buffer, java.nio.FloatBuffer data, int usage)DSA version ofBufferData.static voidglNamedBufferData(int buffer, int[] data, int usage)Array version of:NamedBufferDatastatic voidglNamedBufferData(int buffer, java.nio.IntBuffer data, int usage)DSA version ofBufferData.static voidglNamedBufferData(int buffer, long size, int usage)DSA version ofBufferData.static voidglNamedBufferData(int buffer, short[] data, int usage)Array version of:NamedBufferDatastatic voidglNamedBufferData(int buffer, java.nio.ShortBuffer data, int usage)DSA version ofBufferData.static voidglNamedBufferStorage(int buffer, java.nio.ByteBuffer data, int flags)DSA version ofBufferStorage.static voidglNamedBufferStorage(int buffer, double[] data, int flags)Array version of:NamedBufferStoragestatic voidglNamedBufferStorage(int buffer, java.nio.DoubleBuffer data, int flags)DSA version ofBufferStorage.static voidglNamedBufferStorage(int buffer, float[] data, int flags)Array version of:NamedBufferStoragestatic voidglNamedBufferStorage(int buffer, java.nio.FloatBuffer data, int flags)DSA version ofBufferStorage.static voidglNamedBufferStorage(int buffer, int[] data, int flags)Array version of:NamedBufferStoragestatic voidglNamedBufferStorage(int buffer, java.nio.IntBuffer data, int flags)DSA version ofBufferStorage.static voidglNamedBufferStorage(int buffer, long size, int flags)DSA version ofBufferStorage.static voidglNamedBufferStorage(int buffer, short[] data, int flags)Array version of:NamedBufferStoragestatic voidglNamedBufferStorage(int buffer, java.nio.ShortBuffer data, int flags)DSA version ofBufferStorage.static voidglNamedBufferSubData(int buffer, long offset, java.nio.ByteBuffer data)DSA version ofBufferSubData.static voidglNamedBufferSubData(int buffer, long offset, double[] data)Array version of:NamedBufferSubDatastatic voidglNamedBufferSubData(int buffer, long offset, java.nio.DoubleBuffer data)DSA version ofBufferSubData.static voidglNamedBufferSubData(int buffer, long offset, float[] data)Array version of:NamedBufferSubDatastatic voidglNamedBufferSubData(int buffer, long offset, java.nio.FloatBuffer data)DSA version ofBufferSubData.static voidglNamedBufferSubData(int buffer, long offset, int[] data)Array version of:NamedBufferSubDatastatic voidglNamedBufferSubData(int buffer, long offset, java.nio.IntBuffer data)DSA version ofBufferSubData.static voidglNamedBufferSubData(int buffer, long offset, short[] data)Array version of:NamedBufferSubDatastatic voidglNamedBufferSubData(int buffer, long offset, java.nio.ShortBuffer data)DSA version ofBufferSubData.static voidglNamedFramebufferDrawBuffer(int framebuffer, int buf)DSA version ofDrawBuffer.static voidglNamedFramebufferDrawBuffers(int framebuffer, int buf)DSA version ofDrawBuffers.static voidglNamedFramebufferDrawBuffers(int framebuffer, int[] bufs)Array version of:NamedFramebufferDrawBuffersstatic voidglNamedFramebufferDrawBuffers(int framebuffer, java.nio.IntBuffer bufs)DSA version ofDrawBuffers.static voidglNamedFramebufferParameteri(int framebuffer, int pname, int param)DSA version ofFramebufferParameteri.static voidglNamedFramebufferReadBuffer(int framebuffer, int src)DSA version ofReadBuffer.static voidglNamedFramebufferRenderbuffer(int framebuffer, int attachment, int renderbuffertarget, int renderbuffer)DSA version ofFramebufferRenderbuffer.static voidglNamedFramebufferTexture(int framebuffer, int attachment, int texture, int level)DSA version ofFramebufferTexture.static voidglNamedFramebufferTextureLayer(int framebuffer, int attachment, int texture, int level, int layer)DSA version ofFramebufferTextureLayer.static voidglNamedRenderbufferStorage(int renderbuffer, int internalformat, int width, int height)DSA version ofRenderbufferStorage.static voidglNamedRenderbufferStorageMultisample(int renderbuffer, int samples, int internalformat, int width, int height)DSA version ofRenderbufferStorageMultisample.static voidglTextureBuffer(int texture, int internalformat, int buffer)DSA version ofTexBuffer.static voidglTextureBufferRange(int texture, int internalformat, int buffer, long offset, long size)DSA version ofTexBufferRange.static voidglTextureParameterf(int texture, int pname, float param)DSA version ofTexParameterf.static voidglTextureParameterfv(int texture, int pname, float[] params)Array version of:TextureParameterfvstatic voidglTextureParameterfv(int texture, int pname, java.nio.FloatBuffer params)DSA version ofTexParameterfv.static voidglTextureParameteri(int texture, int pname, int param)DSA version ofTexParameteri.static voidglTextureParameterIi(int texture, int pname, int param)DSA version ofTexParameterIiv.static voidglTextureParameterIiv(int texture, int pname, int[] params)Array version of:TextureParameterIivstatic voidglTextureParameterIiv(int texture, int pname, java.nio.IntBuffer params)DSA version ofTexParameterIiv.static voidglTextureParameterIui(int texture, int pname, int param)DSA version ofTexParameterIuiv.static voidglTextureParameterIuiv(int texture, int pname, int[] params)Array version of:TextureParameterIuivstatic voidglTextureParameterIuiv(int texture, int pname, java.nio.IntBuffer params)DSA version ofTexParameterIuiv.static voidglTextureParameteriv(int texture, int pname, int[] params)Array version of:TextureParameterivstatic voidglTextureParameteriv(int texture, int pname, java.nio.IntBuffer params)DSA version ofTexParameteriv.static voidglTextureStorage1D(int texture, int levels, int internalformat, int width)DSA version ofTexStorage1D.static voidglTextureStorage2D(int texture, int levels, int internalformat, int width, int height)DSA version ofTexStorage2D.static voidglTextureStorage2DMultisample(int texture, int samples, int internalformat, int width, int height, boolean fixedsamplelocations)DSA version ofTexStorage2DMultisample.static voidglTextureStorage3D(int texture, int levels, int internalformat, int width, int height, int depth)DSA version ofTexStorage3D.static voidglTextureStorage3DMultisample(int texture, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations)DSA version ofTexStorage3DMultisample.static voidglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.ByteBuffer pixels)DSA version ofTexSubImage1D.static voidglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, double[] pixels)Array version of:TextureSubImage1Dstatic voidglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.DoubleBuffer pixels)DSA version ofTexSubImage1D.static voidglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, float[] pixels)Array version of:TextureSubImage1Dstatic voidglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.FloatBuffer pixels)DSA version ofTexSubImage1D.static voidglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, int[] pixels)Array version of:TextureSubImage1Dstatic voidglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.IntBuffer pixels)DSA version ofTexSubImage1D.static voidglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, long pixels)DSA version ofTexSubImage1D.static voidglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, short[] pixels)Array version of:TextureSubImage1Dstatic voidglTextureSubImage1D(int texture, int level, int xoffset, int width, int format, int type, java.nio.ShortBuffer pixels)DSA version ofTexSubImage1D.static voidglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.ByteBuffer pixels)DSA version ofTexSubImage2D.static voidglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, double[] pixels)Array version of:TextureSubImage2Dstatic voidglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.DoubleBuffer pixels)DSA version ofTexSubImage2D.static voidglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, float[] pixels)Array version of:TextureSubImage2Dstatic voidglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.FloatBuffer pixels)DSA version ofTexSubImage2D.static voidglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels)Array version of:TextureSubImage2Dstatic voidglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.IntBuffer pixels)DSA version ofTexSubImage2D.static voidglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels)DSA version ofTexSubImage2D.static voidglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, short[] pixels)Array version of:TextureSubImage2Dstatic voidglTextureSubImage2D(int texture, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.ShortBuffer pixels)DSA version ofTexSubImage2D.static voidglTextureSubImage3D(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 voidglTextureSubImage3D(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:TextureSubImage3Dstatic voidglTextureSubImage3D(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 voidglTextureSubImage3D(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:TextureSubImage3Dstatic voidglTextureSubImage3D(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 voidglTextureSubImage3D(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:TextureSubImage3Dstatic voidglTextureSubImage3D(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 voidglTextureSubImage3D(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 voidglTextureSubImage3D(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:TextureSubImage3Dstatic voidglTextureSubImage3D(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 voidglTransformFeedbackBufferBase(int xfb, int index, int buffer)Binds a buffer object to a transform feedback object.static voidglTransformFeedbackBufferRange(int xfb, int index, int buffer, long offset, long size)Binds a region of a buffer object to a transform feedback object.static booleanglUnmapNamedBuffer(int buffer)DSA version ofUnmapBuffer.static voidglVertexArrayAttribBinding(int vaobj, int attribindex, int bindingindex)DSA version ofVertexAttribBinding.static voidglVertexArrayAttribFormat(int vaobj, int attribindex, int size, int type, boolean normalized, int relativeoffset)DSA version ofVertexAttribFormat.static voidglVertexArrayAttribIFormat(int vaobj, int attribindex, int size, int type, int relativeoffset)DSA version ofVertexAttribIFormat.static voidglVertexArrayAttribLFormat(int vaobj, int attribindex, int size, int type, int relativeoffset)DSA version ofVertexAttribLFormat.static voidglVertexArrayBindingDivisor(int vaobj, int bindingindex, int divisor)DSA version ofVertexBindingDivisor.static voidglVertexArrayElementBuffer(int vaobj, int buffer)Binds a buffer object to the element array buffer bind point of a vertex array object.static voidglVertexArrayVertexBuffer(int vaobj, int bindingindex, int buffer, long offset, int stride)DSA version ofBindVertexBuffer.static voidglVertexArrayVertexBuffers(int vaobj, int first, int[] buffers, org.lwjgl.PointerBuffer offsets, int[] strides)Array version of:VertexArrayVertexBuffersstatic voidglVertexArrayVertexBuffers(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 thepnameparameter of GetTextureParameter{if}v and GetTextureParameterI{i ui}v.
-
GL_QUERY_TARGET
Accepted by thepnameparameter of GetQueryObjectiv.
-
-
Method Detail
-
glCreateTransformFeedbacks
public static void glCreateTransformFeedbacks(java.nio.IntBuffer ids)
Returnsnpreviously 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()
Returnsnpreviously 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_PAUSEDTRANSFORM_FEEDBACK_ACTIVEparam- 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_PAUSEDTRANSFORM_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_BINDINGindex- 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_BINDINGindex- 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_STARTTRANSFORM_FEEDBACK_BUFFER_SIZEindex- 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_STARTTRANSFORM_FEEDBACK_BUFFER_SIZEindex- the transform feedback stream index
-
glCreateBuffers
public static void glCreateBuffers(java.nio.IntBuffer buffers)
Returnsnpreviously 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()
Returnsnpreviously 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 bitwiseORof 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. Thedataargument 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 asCopyBufferSubDataandClearBufferSubData.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_BITis not set and the client performs a write followed by a call to theMemoryBarriercommand with theCLIENT_MAPPED_BUFFER_BARRIER_BITset, then in subsequent commands the server will see the writes. - If
MAP_COHERENT_BITis set and the client performs a write, then in subsequent commands the server will see the writes. - If
MAP_COHERENT_BITis not set and the server performs a write, the application must callMemoryBarrierwith theCLIENT_MAPPED_BUFFER_BARRIER_BITset and then callFenceSyncwithSYNC_GPU_COMMANDS_COMPLETE(orFinish). Then the CPU will see the writes after the sync is complete. - If
MAP_COHERENT_BITis set and the server does a write, the app must callFenceSyncwithSYNC_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
flagscontainsMAP_PERSISTENT_BIT, it must also contain at least one ofMAP_READ_BITorMAP_WRITE_BIT.It is an error to specify
MAP_COHERENT_BITwithout 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. IfdataisNULL, the data store of the buffer is created, but contains undefined data. Otherwise,datashould point to an array of at leastsizebasic machine units.flags- the bitwiseORof 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. Thedataargument 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 asCopyBufferSubDataandClearBufferSubData.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_BITis not set and the client performs a write followed by a call to theMemoryBarriercommand with theCLIENT_MAPPED_BUFFER_BARRIER_BITset, then in subsequent commands the server will see the writes. - If
MAP_COHERENT_BITis set and the client performs a write, then in subsequent commands the server will see the writes. - If
MAP_COHERENT_BITis not set and the server performs a write, the application must callMemoryBarrierwith theCLIENT_MAPPED_BUFFER_BARRIER_BITset and then callFenceSyncwithSYNC_GPU_COMMANDS_COMPLETE(orFinish). Then the CPU will see the writes after the sync is complete. - If
MAP_COHERENT_BITis set and the server does a write, the app must callFenceSyncwithSYNC_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
flagscontainsMAP_PERSISTENT_BIT, it must also contain at least one ofMAP_READ_BITorMAP_WRITE_BIT.It is an error to specify
MAP_COHERENT_BITwithout 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_DRAWSTREAM_READSTREAM_COPYSTATIC_DRAWSTATIC_READSTATIC_COPYDYNAMIC_DRAWDYNAMIC_READDYNAMIC_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, orNULLif no data is to be copiedusage- the expected usage pattern of the data store. One of:STREAM_DRAWSTREAM_READSTREAM_COPYSTATIC_DRAWSTATIC_READSTATIC_COPYDYNAMIC_DRAWDYNAMIC_READDYNAMIC_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_ONLYWRITE_ONLYREAD_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_BITMAP_WRITE_BITMAP_INVALIDATE_RANGE_BITMAP_INVALIDATE_BUFFER_BITMAP_FLUSH_EXPLICIT_BITMAP_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_SIZEBUFFER_USAGEBUFFER_ACCESSBUFFER_MAPPEDBUFFER_ACCESS_FLAGSBUFFER_MAP_LENGTHBUFFER_MAP_OFFSETBUFFER_IMMUTABLE_STORAGEBUFFER_STORAGE_FLAGSparams- 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_SIZEBUFFER_USAGEBUFFER_ACCESSBUFFER_MAPPEDBUFFER_ACCESS_FLAGSBUFFER_MAP_LENGTHBUFFER_MAP_OFFSETBUFFER_IMMUTABLE_STORAGEBUFFER_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_SIZEBUFFER_USAGEBUFFER_ACCESSBUFFER_MAPPEDBUFFER_ACCESS_FLAGSBUFFER_MAP_LENGTHBUFFER_MAP_OFFSETBUFFER_IMMUTABLE_STORAGEBUFFER_STORAGE_FLAGSparams- 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_SIZEBUFFER_USAGEBUFFER_ACCESSBUFFER_MAPPEDBUFFER_ACCESS_FLAGSBUFFER_MAP_LENGTHBUFFER_MAP_OFFSETBUFFER_IMMUTABLE_STORAGEBUFFER_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_POINTERparams- 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)
Returnsnpreviously 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()
Returnsnpreviously 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:RENDERBUFFERrenderbuffer- the name of an existing renderbuffer object of typerenderbuffertargetto 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_WIDTHFRAMEBUFFER_DEFAULT_HEIGHTFRAMEBUFFER_DEFAULT_LAYERSFRAMEBUFFER_DEFAULT_SAMPLESFRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONSparam- 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 byattachmentlevel- the mipmap level oftextureto 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 byattachmentlevel- the mipmap level oftextureto attachlayer- the layer oftextureto 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:NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTFRONTBACKLEFTRIGHTFRONT_AND_BACKAUX0AUX1AUX2AUX3COLOR_ATTACHMENT0GL30.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:NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTAUX0AUX1AUX2AUX3COLOR_ATTACHMENT0GL30.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:NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTFRONTBACKLEFTRIGHTFRONT_AND_BACKAUX0AUX1AUX2AUX3COLOR_ATTACHMENT0GL30.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:COLORSTENCILdrawbuffer- 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:COLORdrawbuffer- 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:COLORDEPTHdrawbuffer- 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_STENCILdrawbuffer- 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_BITDEPTH_BUFFER_BITSTENCIL_BUFFER_BITfilter- the interpolation to be applied if the image is stretched. One of:NEARESTLINEAR
-
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:FRAMEBUFFERREAD_FRAMEBUFFERDRAW_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_WIDTHFRAMEBUFFER_DEFAULT_HEIGHTFRAMEBUFFER_DEFAULT_LAYERSFRAMEBUFFER_DEFAULT_SAMPLESFRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONSparams- 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_WIDTHFRAMEBUFFER_DEFAULT_HEIGHTFRAMEBUFFER_DEFAULT_LAYERSFRAMEBUFFER_DEFAULT_SAMPLESFRAMEBUFFER_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 ofattachmentto 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 ofattachmentto query. One of:
-
glCreateRenderbuffers
public static void glCreateRenderbuffers(java.nio.IntBuffer renderbuffers)
Returnsnpreviously 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()
Returnsnpreviously 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)Returnsnpreviously unused texture names intextures, each representing a new texture object.- Parameters:
target- the texture target. One of:TEXTURE_1DTEXTURE_2DTEXTURE_1D_ARRAYTEXTURE_RECTANGLETEXTURE_CUBE_MAPTEXTURE_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYTEXTURE_BUFFERTEXTURE_2D_MULTISAMPLETEXTURE_2D_MULTISAMPLE_ARRAYtextures- the buffer in which to store the created texture names
-
glCreateTextures
public static int glCreateTextures(int target)
Returnsnpreviously unused texture names intextures, each representing a new texture object.- Parameters:
target- the texture target. One of:TEXTURE_1DTEXTURE_2DTEXTURE_1D_ARRAYTEXTURE_RECTANGLETEXTURE_CUBE_MAPTEXTURE_3DTEXTURE_2D_ARRAYTEXTURE_CUBE_MAP_ARRAYTEXTURE_BUFFERTEXTURE_2D_MULTISAMPLETEXTURE_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 tobufferbuffer- 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 tobufferbuffer- 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 bydatadata- 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 bydatadata- 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 bydatadata- 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.texturemust be zero or the name of an existing texture object. Whentextureis 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. Whentextureis 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)
Returnsnpreviously 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()
Returnsnpreviously 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. Ifbufferis zero, any existing element array buffer binding tovaobjis 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 BGRAtype- 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 BGRAtype- 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 BGRAtype- 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_BINDINGparam- 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_OFFSETparam- 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)
Returnsnpreviously 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()
Returnsnpreviously unused sampler names insamplers, each representing a new sampler object.
-
glCreateProgramPipelines
public static void glCreateProgramPipelines(java.nio.IntBuffer pipelines)
Returnsnpreviously 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()
Returnsnpreviously unused program pipeline names inpipelines, each representing a new program pipeline object.
-
glCreateQueries
public static void glCreateQueries(int target, java.nio.IntBuffer ids)Returnsnpreviously unused query object names inids, each representing a new query object with the specifiedtarget.- Parameters:
target- the query target. One of:SAMPLES_PASSEDPRIMITIVES_GENERATEDTRANSFORM_FEEDBACK_PRIMITIVES_WRITTENTIME_ELAPSEDTIMESTAMPANY_SAMPLES_PASSEDANY_SAMPLES_PASSED_CONSERVATIVEids- the buffer in which to return the created query object names
-
glCreateQueries
public static int glCreateQueries(int target)
Returnsnpreviously unused query object names inids, each representing a new query object with the specifiedtarget.- Parameters:
target- the query target. One of:SAMPLES_PASSEDPRIMITIVES_GENERATEDTRANSFORM_FEEDBACK_PRIMITIVES_WRITTENTIME_ELAPSEDTIMESTAMPANY_SAMPLES_PASSEDANY_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 intobufferat 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 intobufferat 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 intobufferat 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 intobufferat 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
-
-