Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GL31C

extends GL30C
Class Inheritance
Known Direct Subclasses
org.lwjgl.opengl.GL32C
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

The OpenGL functionality of a forward compatible context, up to version 3.1.

OpenGL 3.1 implementations support revision 1.40 of the OpenGL Shading Language.

Extensions promoted to core in this release:

Field Summary

Modifier and TypeField and Description
public static final int
GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_ACTIVE_UNIFORM_BLOCKS

Accepted by the pname parameter of GetProgramiv.

public static final int
GL_COPY_READ_BUFFER

Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, MapBufferRange, FlushMappedBufferRange, GetBufferParameteriv, BindBufferRange, BindBufferBase, and CopyBufferSubData.

public static final int
GL_COPY_WRITE_BUFFER

Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, MapBufferRange, FlushMappedBufferRange, GetBufferParameteriv, BindBufferRange, BindBufferBase, and CopyBufferSubData.

public static final int
GL_INT_SAMPLER_2D_RECT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INT_SAMPLER_BUFFER

Returned by the type parameter of GetActiveUniform.

public static final int
GL_INVALID_INDEX

Returned by GetActiveUniformsiv and GetUniformBlockIndex.

public static final int
GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_COMBINED_UNIFORM_BLOCKS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_FRAGMENT_UNIFORM_BLOCKS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_GEOMETRY_UNIFORM_BLOCKS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_RECTANGLE_TEXTURE_SIZE

Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv.

public static final int
GL_MAX_TEXTURE_BUFFER_SIZE

Accepted by the pname parameters of GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv.

public static final int
GL_MAX_UNIFORM_BLOCK_SIZE

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_UNIFORM_BUFFER_BINDINGS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_VERTEX_UNIFORM_BLOCKS

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_PRIMITIVE_RESTART

Accepted by the cap parameter of Enable, Disable and IsEnabled.

public static final int
GL_PRIMITIVE_RESTART_INDEX

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_PROXY_TEXTURE_RECTANGLE

Accepted by the target parameter of GetTexLevelParameteriv, GetTexLevelParameterfv, GetTexParameteriv and TexImage2D.

public static final int
GL_R16_SNORM

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, and TexImage3D.

public static final int
GL_R8_SNORM

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, and TexImage3D.

public static final int
GL_RG16_SNORM

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, and TexImage3D.

public static final int
GL_RG8_SNORM

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, and TexImage3D.

public static final int
GL_RGB16_SNORM

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, and TexImage3D.

public static final int
GL_RGB8_SNORM

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, and TexImage3D.

public static final int
GL_RGBA16_SNORM

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, and TexImage3D.

public static final int
GL_RGBA8_SNORM

Accepted by the internalFormat parameter of TexImage1D, TexImage2D, and TexImage3D.

public static final int
GL_SAMPLER_2D_RECT

Returned by type parameter of GetActiveUniform when the location index for program object program is of type sampler2DRect.

public static final int
GL_SAMPLER_2D_RECT_SHADOW

Returned by type parameter of GetActiveUniform when the location index for program object program is of type sampler2DRectShadow.

public static final int
GL_SAMPLER_BUFFER

Returned by the type parameter of GetActiveUniform.

public static final int
GL_SIGNED_NORMALIZED

Returned by GetTexLevelParameter and GetFramebufferAttachmentParameter.

public static final int
GL_TEXTURE_BINDING_BUFFER

Accepted by the pname parameters of GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv.

public static final int
GL_TEXTURE_BINDING_RECTANGLE

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv and GetDoublev.

public static final int
GL_TEXTURE_BUFFER

Accepted by the target parameter of BindBuffer, BufferData, BufferSubData, MapBuffer, MapBufferRange, BindTexture, UnmapBuffer, GetBufferSubData, GetBufferParameteriv, GetBufferPointerv, and TexBuffer, and the pname parameter of GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv.

public static final int
GL_TEXTURE_BUFFER_DATA_STORE_BINDING

Accepted by the pname parameters of GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv.

public static final int
GL_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.

public static final int
GL_UNIFORM_ARRAY_STRIDE

Accepted by the pname parameter of GetActiveUniformsiv.

public static final int
GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES

Accepted by the pname parameter of GetActiveUniformBlockiv.

public static final int
GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS

Accepted by the pname parameter of GetActiveUniformBlockiv.

public static final int
GL_UNIFORM_BLOCK_BINDING

Accepted by the pname parameter of GetActiveUniformBlockiv.

public static final int
GL_UNIFORM_BLOCK_DATA_SIZE

Accepted by the pname parameter of GetActiveUniformBlockiv.

public static final int
GL_UNIFORM_BLOCK_INDEX

Accepted by the pname parameter of GetActiveUniformsiv.

public static final int
GL_UNIFORM_BLOCK_NAME_LENGTH

Accepted by the pname parameter of GetActiveUniformBlockiv.

public static final int
GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER

Accepted by the pname parameter of GetActiveUniformBlockiv.

public static final int
GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER

Accepted by the pname parameter of GetActiveUniformBlockiv.

public static final int
GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER

Accepted by the pname parameter of GetActiveUniformBlockiv.

public static final int
GL_UNIFORM_BUFFER

Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.

public static final int
GL_UNIFORM_BUFFER_BINDING

Accepted by the pname parameter of GetIntegeri_v, GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_UNIFORM_BUFFER_SIZE

Accepted by the pname parameter of GetIntegeri_v.

public static final int
GL_UNIFORM_BUFFER_START

Accepted by the pname parameter of GetIntegeri_v.

public static final int
GL_UNIFORM_IS_ROW_MAJOR

Accepted by the pname parameter of GetActiveUniformsiv.

public static final int
GL_UNIFORM_MATRIX_STRIDE

Accepted by the pname parameter of GetActiveUniformsiv.

public static final int
GL_UNIFORM_NAME_LENGTH

Accepted by the pname parameter of GetActiveUniformsiv.

public static final int
GL_UNIFORM_OFFSET

Accepted by the pname parameter of GetActiveUniformsiv.

public static final int
GL_UNIFORM_SIZE

Accepted by the pname parameter of GetActiveUniformsiv.

public static final int
GL_UNIFORM_TYPE

Accepted by the pname parameter of GetActiveUniformsiv.

public static final int
GL_UNSIGNED_INT_SAMPLER_2D_RECT

Returned by the type parameter of GetActiveUniform.

public static final int
GL_UNSIGNED_INT_SAMPLER_BUFFER

Returned by the type parameter of GetActiveUniform.

Inherited from org.lwjgl.opengl.GL30C:
GL_BGR_INTEGERGL_BGRA_INTEGERGL_BLUE_INTEGERGL_BUFFER_ACCESS_FLAGSGL_BUFFER_MAP_LENGTHGL_BUFFER_MAP_OFFSETGL_CLAMP_READ_COLORGL_CLIP_DISTANCE0GL_CLIP_DISTANCE1GL_CLIP_DISTANCE2GL_CLIP_DISTANCE3GL_CLIP_DISTANCE4GL_CLIP_DISTANCE5GL_CLIP_DISTANCE6GL_CLIP_DISTANCE7GL_COLOR_ATTACHMENT0GL_COLOR_ATTACHMENT1GL_COLOR_ATTACHMENT10GL_COLOR_ATTACHMENT11GL_COLOR_ATTACHMENT12GL_COLOR_ATTACHMENT13GL_COLOR_ATTACHMENT14GL_COLOR_ATTACHMENT15GL_COLOR_ATTACHMENT16GL_COLOR_ATTACHMENT17GL_COLOR_ATTACHMENT18GL_COLOR_ATTACHMENT19GL_COLOR_ATTACHMENT2GL_COLOR_ATTACHMENT20GL_COLOR_ATTACHMENT21GL_COLOR_ATTACHMENT22GL_COLOR_ATTACHMENT23GL_COLOR_ATTACHMENT24GL_COLOR_ATTACHMENT25GL_COLOR_ATTACHMENT26GL_COLOR_ATTACHMENT27GL_COLOR_ATTACHMENT28GL_COLOR_ATTACHMENT29GL_COLOR_ATTACHMENT3GL_COLOR_ATTACHMENT30GL_COLOR_ATTACHMENT31GL_COLOR_ATTACHMENT4GL_COLOR_ATTACHMENT5GL_COLOR_ATTACHMENT6GL_COLOR_ATTACHMENT7GL_COLOR_ATTACHMENT8GL_COLOR_ATTACHMENT9GL_COMPARE_REF_TO_TEXTUREGL_COMPRESSED_REDGL_COMPRESSED_RED_RGTC1GL_COMPRESSED_RGGL_COMPRESSED_RG_RGTC2GL_COMPRESSED_SIGNED_RED_RGTC1GL_COMPRESSED_SIGNED_RG_RGTC2GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BITGL_CONTEXT_FLAGSGL_DEPTH24_STENCIL8GL_DEPTH32F_STENCIL8GL_DEPTH_ATTACHMENTGL_DEPTH_COMPONENT32FGL_DEPTH_STENCILGL_DEPTH_STENCIL_ATTACHMENTGL_DRAW_FRAMEBUFFERGL_DRAW_FRAMEBUFFER_BINDINGGL_FIXED_ONLYGL_FLOAT_32_UNSIGNED_INT_24_8_REVGL_FRAMEBUFFERGL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZEGL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZEGL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODINGGL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPEGL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZEGL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZEGL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAMEGL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPEGL_FRAMEBUFFER_ATTACHMENT_RED_SIZEGL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZEGL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACEGL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYERGL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVELGL_FRAMEBUFFER_BINDINGGL_FRAMEBUFFER_COMPLETEGL_FRAMEBUFFER_DEFAULTGL_FRAMEBUFFER_INCOMPLETE_ATTACHMENTGL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFERGL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENTGL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLEGL_FRAMEBUFFER_INCOMPLETE_READ_BUFFERGL_FRAMEBUFFER_SRGBGL_FRAMEBUFFER_UNDEFINEDGL_FRAMEBUFFER_UNSUPPORTEDGL_GREEN_INTEGERGL_HALF_FLOATGL_INT_SAMPLER_1DGL_INT_SAMPLER_1D_ARRAYGL_INT_SAMPLER_2DGL_INT_SAMPLER_2D_ARRAYGL_INT_SAMPLER_3DGL_INT_SAMPLER_CUBEGL_INTERLEAVED_ATTRIBSGL_INVALID_FRAMEBUFFER_OPERATIONGL_MAJOR_VERSIONGL_MAP_FLUSH_EXPLICIT_BITGL_MAP_INVALIDATE_BUFFER_BITGL_MAP_INVALIDATE_RANGE_BITGL_MAP_READ_BITGL_MAP_UNSYNCHRONIZED_BITGL_MAP_WRITE_BITGL_MAX_ARRAY_TEXTURE_LAYERSGL_MAX_CLIP_DISTANCESGL_MAX_COLOR_ATTACHMENTSGL_MAX_PROGRAM_TEXEL_OFFSETGL_MAX_RENDERBUFFER_SIZEGL_MAX_SAMPLESGL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTSGL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBSGL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTSGL_MAX_VARYING_COMPONENTSGL_MIN_PROGRAM_TEXEL_OFFSETGL_MINOR_VERSIONGL_NUM_EXTENSIONSGL_PRIMITIVES_GENERATEDGL_PROXY_TEXTURE_1D_ARRAYGL_PROXY_TEXTURE_2D_ARRAYGL_QUERY_BY_REGION_NO_WAITGL_QUERY_BY_REGION_WAITGL_QUERY_NO_WAITGL_QUERY_WAITGL_R11F_G11F_B10FGL_R16GL_R16FGL_R16IGL_R16UIGL_R32FGL_R32IGL_R32UIGL_R8GL_R8IGL_R8UIGL_RASTERIZER_DISCARDGL_READ_FRAMEBUFFERGL_READ_FRAMEBUFFER_BINDINGGL_RED_INTEGERGL_RENDERBUFFERGL_RENDERBUFFER_ALPHA_SIZEGL_RENDERBUFFER_BINDINGGL_RENDERBUFFER_BLUE_SIZEGL_RENDERBUFFER_DEPTH_SIZEGL_RENDERBUFFER_GREEN_SIZEGL_RENDERBUFFER_HEIGHTGL_RENDERBUFFER_INTERNAL_FORMATGL_RENDERBUFFER_RED_SIZEGL_RENDERBUFFER_SAMPLESGL_RENDERBUFFER_STENCIL_SIZEGL_RENDERBUFFER_WIDTHGL_RGGL_RG16GL_RG16FGL_RG16IGL_RG16UIGL_RG32FGL_RG32IGL_RG32UIGL_RG8GL_RG8IGL_RG8UIGL_RG_INTEGERGL_RGB16FGL_RGB16IGL_RGB16UIGL_RGB32FGL_RGB32IGL_RGB32UIGL_RGB8IGL_RGB8UIGL_RGB9_E5GL_RGB_INTEGERGL_RGBA16FGL_RGBA16IGL_RGBA16UIGL_RGBA32FGL_RGBA32IGL_RGBA32UIGL_RGBA8IGL_RGBA8UIGL_RGBA_INTEGERGL_SAMPLER_1D_ARRAYGL_SAMPLER_1D_ARRAY_SHADOWGL_SAMPLER_2D_ARRAYGL_SAMPLER_2D_ARRAY_SHADOWGL_SAMPLER_CUBE_SHADOWGL_SEPARATE_ATTRIBSGL_STENCIL_ATTACHMENTGL_STENCIL_INDEX1GL_STENCIL_INDEX16GL_STENCIL_INDEX4GL_STENCIL_INDEX8GL_TEXTURE_1D_ARRAYGL_TEXTURE_2D_ARRAYGL_TEXTURE_ALPHA_TYPEGL_TEXTURE_BINDING_1D_ARRAYGL_TEXTURE_BINDING_2D_ARRAYGL_TEXTURE_BLUE_TYPEGL_TEXTURE_DEPTH_TYPEGL_TEXTURE_GREEN_TYPEGL_TEXTURE_RED_TYPEGL_TEXTURE_SHARED_SIZEGL_TEXTURE_STENCIL_SIZEGL_TRANSFORM_FEEDBACK_BUFFERGL_TRANSFORM_FEEDBACK_BUFFER_BINDINGGL_TRANSFORM_FEEDBACK_BUFFER_MODEGL_TRANSFORM_FEEDBACK_BUFFER_SIZEGL_TRANSFORM_FEEDBACK_BUFFER_STARTGL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTENGL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTHGL_TRANSFORM_FEEDBACK_VARYINGSGL_UNSIGNED_INT_10F_11F_11F_REVGL_UNSIGNED_INT_24_8GL_UNSIGNED_INT_5_9_9_9_REVGL_UNSIGNED_INT_SAMPLER_1DGL_UNSIGNED_INT_SAMPLER_1D_ARRAYGL_UNSIGNED_INT_SAMPLER_2DGL_UNSIGNED_INT_SAMPLER_2D_ARRAYGL_UNSIGNED_INT_SAMPLER_3DGL_UNSIGNED_INT_SAMPLER_CUBEGL_UNSIGNED_INT_VEC2GL_UNSIGNED_INT_VEC3GL_UNSIGNED_INT_VEC4GL_UNSIGNED_NORMALIZEDGL_VERTEX_ARRAY_BINDINGGL_VERTEX_ATTRIB_ARRAY_INTEGER

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glCopyBufferSubData(int readTarget, int
the destination buffer object target
writeTarget
,
long
the source buffer object offset, in bytes
readOffset
,
long
the destination buffer object offset, in bytes
writeOffset
,
long
the number of bytes to copy
size
)

Copies all or part of one buffer object's data store to the data store of another buffer object.

public static native void
glDrawArraysInstanced(int mode, int
the index of the first vertex to be rendered
first
,
int
the number of vertices to be rendered
count
,
int
the number of instances of the specified range of vertices to be rendered
primcount
)

Draw multiple instances of a range of elements.

public static void
glDrawElementsInstanced(int mode, int
the number of elements to be rendered
count
,
int
the type of the values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
long
the ByteBuffer containing the indices to be rendered
indices
,
int
the number of instances of the specified range of indices to be rendered
primcount
)

Draws multiple instances of a set of elements.

public static void
glDrawElementsInstanced(int mode, int
the type of the values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
ByteBuffer
the ByteBuffer containing the indices to be rendered
indices
,
int
the number of instances of the specified range of indices to be rendered
primcount
)

Draws multiple instances of a set of elements.

public static void
glDrawElementsInstanced(int mode, ByteBuffer
the ByteBuffer containing the indices to be rendered
indices
,
int
the number of instances of the specified range of indices to be rendered
primcount
)

Draws multiple instances of a set of elements.

public static void
glDrawElementsInstanced(int mode, ShortBuffer
the ByteBuffer containing the indices to be rendered
indices
,
int
the number of instances of the specified range of indices to be rendered
primcount
)

Draws multiple instances of a set of elements.

public static void
glDrawElementsInstanced(int mode, IntBuffer
the ByteBuffer containing the indices to be rendered
indices
,
int
the number of instances of the specified range of indices to be rendered
primcount
)

Draws multiple instances of a set of elements.

public static int
glGetActiveUniformBlocki(int
the name of a program containing the uniform block
program
,
int
the index of the uniform block within program
uniformBlockIndex
,
int pname)

Queries information about an active uniform block.

public static void
glGetActiveUniformBlockiv(int
the name of a program containing the uniform block
program
,
int
the index of the uniform block within program
uniformBlockIndex
,
int pname, IntBuffer
the address of a variable to receive the result of the query
params
)

Queries information about an active uniform block.

public static void
glGetActiveUniformBlockiv(int program, int uniformBlockIndex, int pname, int[] params)

Array version of: GetActiveUniformBlockiv

public static void
glGetActiveUniformBlockName(int
the name of a program containing the uniform block
program
,
int
the index of the uniform block within program
uniformBlockIndex
,
IntBuffer
the address of a variable to receive the number of characters that were written to uniformBlockName
length
,
ByteBuffer
an array of characters to receive the name of the uniform block at uniformBlockIndex
uniformBlockName
)

Retrieves the name of an active uniform block.

public static String
glGetActiveUniformBlockName(int
the name of a program containing the uniform block
program
,
int
the index of the uniform block within program
uniformBlockIndex
,
int
the size of the buffer addressed by uniformBlockName
bufSize
)

Retrieves the name of an active uniform block.

public static String
glGetActiveUniformBlockName(int
the name of a program containing the uniform block
program
,
int
the index of the uniform block within program
uniformBlockIndex
)

Retrieves the name of an active uniform block.

public static void
glGetActiveUniformBlockName(int program, int uniformBlockIndex, int[] length, ByteBuffer uniformBlockName)

Array version of: GetActiveUniformBlockName

public static void
glGetActiveUniformName(int
the program containing the active uniform index uniformIndex
program
,
int
the index of the active uniform whose name to query
uniformIndex
,
IntBuffer
the address of a variable that will receive the number of characters that were or would have been written to the buffer addressed by uniformName
length
,
ByteBuffer
the address of a buffer into which the GL will place the name of the active uniform at uniformIndex within program
uniformName
)

Queries the name of an active uniform.

public static String
glGetActiveUniformName(int
the program containing the active uniform index uniformIndex
program
,
int
the index of the active uniform whose name to query
uniformIndex
,
int
the size of the buffer, in units of GLchar, of the buffer whose address is specified in uniformName
bufSize
)

Queries the name of an active uniform.

public static String
glGetActiveUniformName(int
the program containing the active uniform index uniformIndex
program
,
int
the index of the active uniform whose name to query
uniformIndex
)

Queries the name of an active uniform.

public static void
glGetActiveUniformName(int program, int uniformIndex, int[] length, ByteBuffer uniformName)

Array version of: GetActiveUniformName

public static int
glGetActiveUniformsi(int
the program object to be queried
program
,
int uniformIndex, int
the property of the each uniform in uniformIndices that should be written into the corresponding element of params
pname
)

Returns information about several active uniform variables for the specified program object.

public static void
glGetActiveUniformsiv(int
the program object to be queried
program
,
IntBuffer
an array of uniformCount integers containing the indices of uniforms within program
uniformIndices
,
int
the property of the each uniform in uniformIndices that should be written into the corresponding element of params
pname
,
IntBuffer
an array of uniformCount integers which are to receive the value of pname for each uniform in uniformIndices
params
)

Returns information about several active uniform variables for the specified program object.

public static void
glGetActiveUniformsiv(int program, int[] uniformIndices, int pname, int[] params)

Array version of: GetActiveUniformsiv

public static int
glGetUniformBlockIndex(int
the name of a program containing the uniform block
program
,
ByteBuffer
an array of characters to containing the name of the uniform block whose index to retrieve
uniformBlockName
)

Retrieves the index of a named uniform block.

public static int
glGetUniformBlockIndex(int
the name of a program containing the uniform block
program
,
CharSequence
an array of characters to containing the name of the uniform block whose index to retrieve
uniformBlockName
)

Retrieves the index of a named uniform block.

public static void
glGetUniformIndices(int
the name of a program containing uniforms whose indices to query
program
,
PointerBuffer
an array of pointers to buffers containing the names of the queried uniforms
uniformNames
,
IntBuffer
an array that will receive the indices of the uniforms
uniformIndices
)

Retrieves the indices of a number of uniforms within a program object

public static void
glGetUniformIndices(int
the name of a program containing uniforms whose indices to query
program
,
CharSequence[]
an array of pointers to buffers containing the names of the queried uniforms
uniformNames
,
IntBuffer
an array that will receive the indices of the uniforms
uniformIndices
)

Retrieves the indices of a number of uniforms within a program object

public static int
glGetUniformIndices(int
the name of a program containing uniforms whose indices to query
program
,
CharSequence uniformName)

Retrieves the indices of a number of uniforms within a program object

public static void
glGetUniformIndices(int program, PointerBuffer uniformNames, int[] uniformIndices)

Array version of: GetUniformIndices

public static native void
glPrimitiveRestartIndex(int
the value to be interpreted as the primitive restart index
index
)

Specifies the primitive restart index.

public static native void
glTexBuffer(int
the target of the operation. Must be:
TEXTURE_BUFFER
target
,
int
the sized internal format of the data in the store belonging to buffer
internalformat
,
int
the name of the buffer object whose storage to attach to the active buffer texture
buffer
)

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.

public static native void
glUniformBlockBinding(int
the name of a program object containing the active uniform block whose binding to assign
program
,
int
the index of the active uniform block within program whose binding to assign
uniformBlockIndex
,
int
the binding point to which to bind the uniform block with index uniformBlockIndex within program
uniformBlockBinding
)

Assigns a binding point to an active uniform block.

public static native void
nglDrawElementsInstanced(int mode, int
the number of elements to be rendered
count
,
int
the type of the values in indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
long indices, int primcount)

Unsafe version of: DrawElementsInstanced

public static native void
nglGetActiveUniformBlockiv(int program, int uniformBlockIndex, int pname, long params)

Unsafe version of: GetActiveUniformBlockiv

public static native void
nglGetActiveUniformBlockName(int program, int uniformBlockIndex, int
the size of the buffer addressed by uniformBlockName
bufSize
,
long length, long uniformBlockName)

Unsafe version of: GetActiveUniformBlockName

public static native void
nglGetActiveUniformName(int program, int uniformIndex, int
the size of the buffer, in units of GLchar, of the buffer whose address is specified in uniformName
bufSize
,
long length, long uniformName)

Unsafe version of: GetActiveUniformName

public static native void
nglGetActiveUniformsiv(int program, int
the number of elements in the array of indices uniformIndices and the number of parameters written to params upon successful return
uniformCount
,
long uniformIndices, int pname, long params)

Unsafe version of: GetActiveUniformsiv

public static native int
nglGetUniformBlockIndex(int program, long uniformBlockName)

Unsafe version of: GetUniformBlockIndex

public static native void
nglGetUniformIndices(int program, int
the number of uniforms whose indices to query
uniformCount
,
long uniformNames, long uniformIndices)

Unsafe version of: GetUniformIndices

Inherited from org.lwjgl.opengl.GL30C:
glBeginConditionalRenderglBeginTransformFeedbackglBindBufferBaseglBindBufferRangeglBindFragDataLocationglBindFragDataLocationglBindFramebufferglBindRenderbufferglBindVertexArrayglBlitFramebufferglCheckFramebufferStatusglClampColorglClearBufferfiglClearBufferfvglClearBufferfvglClearBufferivglClearBufferivglClearBufferuivglClearBufferuivglColorMaskiglDeleteFramebuffersglDeleteFramebuffersglDeleteFramebuffersglDeleteRenderbuffersglDeleteRenderbuffersglDeleteRenderbuffersglDeleteVertexArraysglDeleteVertexArraysglDeleteVertexArraysglDisableiglEnableiglEndConditionalRenderglEndTransformFeedbackglFlushMappedBufferRangeglFramebufferRenderbufferglFramebufferTexture1DglFramebufferTexture2DglFramebufferTexture3DglFramebufferTextureLayerglGenerateMipmapglGenFramebuffersglGenFramebuffersglGenFramebuffersglGenRenderbuffersglGenRenderbuffersglGenRenderbuffersglGenVertexArraysglGenVertexArraysglGenVertexArraysglGetBooleaniglGetBooleani_vglGetFragDataLocationglGetFragDataLocationglGetFramebufferAttachmentParameteriglGetFramebufferAttachmentParameterivglGetFramebufferAttachmentParameterivglGetIntegeriglGetIntegeri_vglGetIntegeri_vglGetRenderbufferParameteriglGetRenderbufferParameterivglGetRenderbufferParameterivglGetStringiglGetTexParameterIiglGetTexParameterIivglGetTexParameterIivglGetTexParameterIuiglGetTexParameterIuivglGetTexParameterIuivglGetTransformFeedbackVaryingglGetTransformFeedbackVaryingglGetTransformFeedbackVaryingglGetTransformFeedbackVaryingglGetUniformuiglGetUniformuivglGetUniformuivglGetVertexAttribIiglGetVertexAttribIivglGetVertexAttribIivglGetVertexAttribIuiglGetVertexAttribIuivglGetVertexAttribIuivglIsEnablediglIsFramebufferglIsRenderbufferglIsVertexArrayglMapBufferRangeglMapBufferRangeglRenderbufferStorageglRenderbufferStorageMultisampleglTexParameterIiglTexParameterIivglTexParameterIivglTexParameterIuiglTexParameterIuivglTexParameterIuivglTransformFeedbackVaryingsglTransformFeedbackVaryingsglTransformFeedbackVaryingsglUniform1uiglUniform1uivglUniform1uivglUniform2uiglUniform2uivglUniform2uivglUniform3uiglUniform3uivglUniform3uivglUniform4uiglUniform4uivglUniform4uivglVertexAttribI1iglVertexAttribI1ivglVertexAttribI1ivglVertexAttribI1uiglVertexAttribI1uivglVertexAttribI1uivglVertexAttribI2iglVertexAttribI2ivglVertexAttribI2ivglVertexAttribI2uiglVertexAttribI2uivglVertexAttribI2uivglVertexAttribI3iglVertexAttribI3ivglVertexAttribI3ivglVertexAttribI3uiglVertexAttribI3uivglVertexAttribI3uivglVertexAttribI4bvglVertexAttribI4iglVertexAttribI4ivglVertexAttribI4ivglVertexAttribI4svglVertexAttribI4svglVertexAttribI4ubvglVertexAttribI4uiglVertexAttribI4uivglVertexAttribI4uivglVertexAttribI4usvglVertexAttribI4usvglVertexAttribIPointerglVertexAttribIPointerglVertexAttribIPointerglVertexAttribIPointernglBindFragDataLocationnglClearBufferfvnglClearBufferivnglClearBufferuivnglDeleteFramebuffersnglDeleteRenderbuffersnglDeleteVertexArraysnglGenFramebuffersnglGenRenderbuffersnglGenVertexArraysnglGetBooleani_vnglGetFragDataLocationnglGetFramebufferAttachmentParameterivnglGetIntegeri_vnglGetRenderbufferParameterivnglGetStringinglGetTexParameterIivnglGetTexParameterIuivnglGetTransformFeedbackVaryingnglGetUniformuivnglGetVertexAttribIivnglGetVertexAttribIuivnglMapBufferRangenglTexParameterIivnglTexParameterIuivnglTransformFeedbackVaryingsnglUniform1uivnglUniform2uivnglUniform3uivnglUniform4uivnglVertexAttribI1ivnglVertexAttribI1uivnglVertexAttribI2ivnglVertexAttribI2uivnglVertexAttribI3ivnglVertexAttribI3uivnglVertexAttribI4bvnglVertexAttribI4ivnglVertexAttribI4svnglVertexAttribI4ubvnglVertexAttribI4uivnglVertexAttribI4usvnglVertexAttribIPointer