Java org.lwjgl.opengl GL31 fields, constructors, methods, implement or subclass

Example usage for Java org.lwjgl.opengl GL31 fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.lwjgl.opengl GL31.

The text is from its open source code.

Field

intGL_PRIMITIVE_RESTART
Accepted by the cap parameter of Enable, Disable and IsEnabled.
intGL_TEXTURE_RECTANGLE
Accepted by the cap parameter of Enable, Disable and IsEnabled; by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv and GetDoublev; and by the target parameter of BindTexture, GetTexParameterfv, GetTexParameteriv, TexParameterf, TexParameteri, TexParameterfv and TexParameteriv.
intGL_TEXTURE_BINDING_RECTANGLE
Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv and GetDoublev.

Method

voidglCopyBufferSubData(@NativeType("GLenum") int readTarget, @NativeType("GLenum") int writeTarget, @NativeType("GLintptr") long readOffset, @NativeType("GLintptr") long writeOffset, @NativeType("GLsizeiptr") long size)
Copies all or part of one buffer object's data store to the data store of another buffer object.
voidglDrawArraysInstanced(@NativeType("GLenum") int mode, @NativeType("GLint") int first, @NativeType("GLsizei") int count, @NativeType("GLsizei") int primcount)
Draw multiple instances of a range of elements.
voidglDrawElementsInstanced(@NativeType("GLenum") int mode, @NativeType("void const *") ByteBuffer indices, @NativeType("GLsizei") int primcount)
Draws multiple instances of a set of elements.
voidglDrawElementsInstanced(@NativeType("GLenum") int mode, @NativeType("void const *") ShortBuffer indices, @NativeType("GLsizei") int primcount)
Draws multiple instances of a set of elements.
voidglDrawElementsInstanced(@NativeType("GLenum") int mode, @NativeType("void const *") IntBuffer indices, @NativeType("GLsizei") int primcount)
Draws multiple instances of a set of elements.
voidglDrawElementsInstanced(@NativeType("GLenum") int mode, @NativeType("GLsizei") int count, @NativeType("GLenum") int type, @NativeType("void const *") long indices, @NativeType("GLsizei") int primcount)
Draws multiple instances of a set of elements.
intglGetActiveUniformBlocki(@NativeType("GLuint") int program, @NativeType("GLuint") int uniformBlockIndex, @NativeType("GLenum") int pname)
Queries information about an active uniform block.
voidglGetActiveUniformBlockName(@NativeType("GLuint") int program, @NativeType("GLuint") int uniformBlockIndex, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLchar *") ByteBuffer uniformBlockName)
Retrieves the name of an active uniform block.
voidglGetActiveUniformBlockName(@NativeType("GLuint") int program, @NativeType("GLuint") int uniformBlockIndex, @Nullable @NativeType("GLsizei *") int[] length, @NativeType("GLchar *") ByteBuffer uniformBlockName)
Array version of: #glGetActiveUniformBlockName GetActiveUniformBlockName
StringglGetActiveUniformBlockName(@NativeType("GLuint") int program, @NativeType("GLuint") int uniformBlockIndex, @NativeType("GLsizei") int bufSize)
Retrieves the name of an active uniform block.
StringglGetActiveUniformName(@NativeType("GLuint") int program, @NativeType("GLuint") int uniformIndex, @NativeType("GLsizei") int bufSize)
Queries the name of an active uniform.
voidglGetActiveUniformName(@NativeType("GLuint") int program, @NativeType("GLuint") int uniformIndex, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLchar *") ByteBuffer uniformName)
Queries the name of an active uniform.
voidglGetActiveUniformName(@NativeType("GLuint") int program, @NativeType("GLuint") int uniformIndex, @Nullable @NativeType("GLsizei *") int[] length, @NativeType("GLchar *") ByteBuffer uniformName)
Array version of: #glGetActiveUniformName GetActiveUniformName
intglGetActiveUniformsi(@NativeType("GLuint") int program, @NativeType("GLuint const *") int uniformIndex, @NativeType("GLenum") int pname)
Returns information about several active uniform variables for the specified program object.
voidglGetActiveUniformsiv(@NativeType("GLuint") int program, @NativeType("GLuint const *") IntBuffer uniformIndices, @NativeType("GLenum") int pname, @NativeType("GLint *") IntBuffer params)
Returns information about several active uniform variables for the specified program object.
voidglGetActiveUniformsiv(@NativeType("GLuint") int program, @NativeType("GLuint const *") int[] uniformIndices, @NativeType("GLenum") int pname, @NativeType("GLint *") int[] params)
Array version of: #glGetActiveUniformsiv GetActiveUniformsiv
intglGetUniformBlockIndex(@NativeType("GLuint") int program, @NativeType("GLchar const *") ByteBuffer uniformBlockName)
Retrieves the index of a named uniform block.
intglGetUniformBlockIndex(@NativeType("GLuint") int program, @NativeType("GLchar const *") CharSequence uniformBlockName)
Retrieves the index of a named uniform block.
voidglGetUniformIndices(@NativeType("GLuint") int program, @NativeType("GLchar const **") PointerBuffer uniformNames, @NativeType("GLuint *") IntBuffer uniformIndices)
Retrieves the indices of a number of uniforms within a program object
voidglGetUniformIndices(@NativeType("GLuint") int program, @NativeType("GLchar const **") CharSequence[] uniformNames, @NativeType("GLuint *") IntBuffer uniformIndices)
Retrieves the indices of a number of uniforms within a program object
voidglGetUniformIndices(@NativeType("GLuint") int program, @NativeType("GLchar const **") PointerBuffer uniformNames, @NativeType("GLuint *") int[] uniformIndices)
Array version of: #glGetUniformIndices GetUniformIndices
voidglPrimitiveRestartIndex(@NativeType("GLuint") int index)
Specifies the primitive restart index.
voidglTexBuffer(@NativeType("GLenum") int target, @NativeType("GLenum") int internalformat, @NativeType("GLuint") int buffer)
Attaches the storage for the buffer object named buffer to the active buffer texture, and specifies an internal format for the texel array found in the attached buffer object.
voidglUniformBlockBinding(@NativeType("GLuint") int program, @NativeType("GLuint") int uniformBlockIndex, @NativeType("GLuint") int uniformBlockBinding)
Assigns a binding point to an active uniform block.