Top Fields Constructors Methods
org.lwjgl.opengl

public final Class GL31

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

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
public static final int
public static final int
public static final int
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 IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

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

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: Accepted by the <target> parameter of GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D, CopyTexImage2D, TexSubImage2D and CopySubTexImage2D:

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:

Constructor Summary

AccessConstructor and Description
private
GL31()

Method Summary

Modifier and TypeMethod and Description
public static void
glCopyBufferSubData(int readtarget, int writetarget, long readoffset, long writeoffset, long size)

public static void
glDrawArraysInstanced(int mode, int first, int count, int primcount)

public static void
glDrawElementsInstanced(int mode, ByteBuffer indices, int primcount)

public static void
glDrawElementsInstanced(int mode, IntBuffer indices, int primcount)

public static void
glDrawElementsInstanced(int mode, ShortBuffer indices, int primcount)

public static void
glDrawElementsInstanced(int mode, int indices_count, int type, long indices_buffer_offset, int primcount)

public static void
glGetActiveUniformBlock(int program, int uniformBlockIndex, int pname, IntBuffer params)

public static int
glGetActiveUniformBlock(int program, int uniformBlockIndex, int pname)

Deprecated Will be removed in 3.0. Use glGetActiveUniformBlocki instead.
Overloads glGetActiveUniformBlockiv.
public static int
glGetActiveUniformBlocki(int program, int uniformBlockIndex, int pname)

Overloads glGetActiveUniformBlockiv.

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

public static String
glGetActiveUniformBlockName(int program, int uniformBlockIndex, int bufSize)

Overloads glGetActiveUniformBlockName.

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

public static String
glGetActiveUniformName(int program, int uniformIndex, int bufSize)

Overloads glGetActiveUniformName.

public static void
glGetActiveUniforms(int program, IntBuffer uniformIndices, int pname, IntBuffer params)

public static int
glGetActiveUniforms(int program, int uniformIndex, int pname)

Deprecated Will be removed in 3.0. Use glGetActiveUniformsi instead.
Overloads glGetActiveUniformsiv.
public static int
glGetActiveUniformsi(int program, int uniformIndex, int pname)

Overloads glGetActiveUniformsiv.

public static int
glGetUniformBlockIndex(int program, ByteBuffer uniformBlockName)

public static int
glGetUniformBlockIndex(int program, CharSequence uniformBlockName)

Overloads glGetUniformBlockIndex.

public static void
glGetUniformIndices(int program, ByteBuffer uniformNames, IntBuffer uniformIndices)

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

Overloads glGetUniformIndices.

public static void
public static void
glTexBuffer(int target, int internalformat, int buffer)

public static void
glUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding)

pack-priv static native void
nglCopyBufferSubData(int readtarget, int writetarget, long readoffset, long writeoffset, long size, long function_pointer)

pack-priv static native void
nglDrawArraysInstanced(int mode, int first, int count, int primcount, long function_pointer)

pack-priv static native void
nglDrawElementsInstanced(int mode, int indices_count, int type, long indices, int primcount, long function_pointer)

pack-priv static native void
nglDrawElementsInstancedBO(int mode, int indices_count, int type, long indices_buffer_offset, int primcount, long function_pointer)

pack-priv static native void
nglGetActiveUniformBlockiv(int program, int uniformBlockIndex, int pname, long params, long function_pointer)

pack-priv static native void
nglGetActiveUniformBlockName(int program, int uniformBlockIndex, int uniformBlockName_bufSize, long length, long uniformBlockName, long function_pointer)

pack-priv static native void
nglGetActiveUniformName(int program, int uniformIndex, int uniformName_bufSize, long length, long uniformName, long function_pointer)

pack-priv static native void
nglGetActiveUniformsiv(int program, int uniformIndices_uniformCount, long uniformIndices, int pname, long params, long function_pointer)

pack-priv static native int
nglGetUniformBlockIndex(int program, long uniformBlockName, long function_pointer)

pack-priv static native void
nglGetUniformIndices(int program, int uniformIndices_uniformCount, long uniformNames, long uniformIndices, long function_pointer)

pack-priv static native void
nglPrimitiveRestartIndex(int index, long function_pointer)

pack-priv static native void
nglTexBuffer(int target, int internalformat, int buffer, long function_pointer)

pack-priv static native void
nglUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding, long function_pointer)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTHback to summary
public static final int GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH

Accepted by the <pname> parameter of GetProgramiv:

GL_ACTIVE_UNIFORM_BLOCKSback to summary
public static final int GL_ACTIVE_UNIFORM_BLOCKS

Accepted by the <pname> parameter of GetProgramiv:

GL_COPY_READ_BUFFERback to summary
public static final int GL_COPY_READ_BUFFER
GL_COPY_READ_BUFFER_BINDINGback to summary
public static final int GL_COPY_READ_BUFFER_BINDING
GL_COPY_WRITE_BUFFERback to summary
public static final int GL_COPY_WRITE_BUFFER
GL_COPY_WRITE_BUFFER_BINDINGback to summary
public static final int GL_COPY_WRITE_BUFFER_BINDING
GL_INVALID_INDEXback to summary
public static final int GL_INVALID_INDEX

Returned by GetActiveUniformsiv and GetUniformBlockIndex

GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTSback to summary
public static final int GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTSback to summary
public static final int GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_MAX_COMBINED_UNIFORM_BLOCKSback to summary
public static final int GL_MAX_COMBINED_UNIFORM_BLOCKS

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTSback to summary
public static final int GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_MAX_FRAGMENT_UNIFORM_BLOCKSback to summary
public static final int GL_MAX_FRAGMENT_UNIFORM_BLOCKS

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_MAX_GEOMETRY_UNIFORM_BLOCKSback to summary
public static final int GL_MAX_GEOMETRY_UNIFORM_BLOCKS

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_MAX_RECTANGLE_TEXTURE_SIZEback to summary
public static final int GL_MAX_RECTANGLE_TEXTURE_SIZE

Accepted by the <pname> parameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv:

GL_MAX_TEXTURE_BUFFER_SIZEback to summary
public static final int GL_MAX_TEXTURE_BUFFER_SIZE

Accepted by the <pname> parameters of GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv:

GL_MAX_UNIFORM_BLOCK_SIZEback to summary
public static final int GL_MAX_UNIFORM_BLOCK_SIZE

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_MAX_UNIFORM_BUFFER_BINDINGSback to summary
public static final int GL_MAX_UNIFORM_BUFFER_BINDINGS

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_MAX_VERTEX_UNIFORM_BLOCKSback to summary
public static final int GL_MAX_VERTEX_UNIFORM_BLOCKS

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_PRIMITIVE_RESTARTback to summary
public static final int GL_PRIMITIVE_RESTART

Accepted by the <cap> parameter of IsEnabled, and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_PRIMITIVE_RESTART_INDEXback to summary
public static final int GL_PRIMITIVE_RESTART_INDEX

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_PROXY_TEXTURE_RECTANGLEback to summary
public static final int GL_PROXY_TEXTURE_RECTANGLE

Accepted by the <target> parameter of GetTexLevelParameteriv, GetTexLevelParameterfv, GetTexParameteriv and TexImage2D:

GL_R16_SNORMback to summary
public static final int GL_R16_SNORM
GL_R8_SNORMback to summary
public static final int GL_R8_SNORM
GL_RED_SNORMback to summary
public static final int GL_RED_SNORM
GL_RG16_SNORMback to summary
public static final int GL_RG16_SNORM
GL_RG8_SNORMback to summary
public static final int GL_RG8_SNORM
GL_RG_SNORMback to summary
public static final int GL_RG_SNORM
GL_RGB16_SNORMback to summary
public static final int GL_RGB16_SNORM
GL_RGB8_SNORMback to summary
public static final int GL_RGB8_SNORM
GL_RGB_SNORMback to summary
public static final int GL_RGB_SNORM
GL_RGBA16_SNORMback to summary
public static final int GL_RGBA16_SNORM
GL_RGBA8_SNORMback to summary
public static final int GL_RGBA8_SNORM
GL_RGBA_SNORMback to summary
public static final int GL_RGBA_SNORM
GL_SAMPLER_2D_RECTback to summary
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:

GL_SAMPLER_2D_RECT_SHADOWback to summary
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:

GL_SIGNED_NORMALIZEDback to summary
public static final int GL_SIGNED_NORMALIZED
GL_TEXTURE_BINDING_BUFFERback to summary
public static final int GL_TEXTURE_BINDING_BUFFER

Accepted by the <pname> parameters of GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv:

GL_TEXTURE_BINDING_RECTANGLEback to summary
public static final int GL_TEXTURE_BINDING_RECTANGLE

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv and GetDoublev:

GL_TEXTURE_BUFFERback to summary
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 parameter of GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv:

GL_TEXTURE_BUFFER_DATA_STORE_BINDINGback to summary
public static final int GL_TEXTURE_BUFFER_DATA_STORE_BINDING

Accepted by the <pname> parameters of GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv:

GL_TEXTURE_BUFFER_FORMATback to summary
public static final int GL_TEXTURE_BUFFER_FORMAT

Accepted by the <pname> parameters of GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv:

GL_TEXTURE_RECTANGLEback to summary
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: Accepted by the <target> parameter of GetTexImage, GetTexLevelParameteriv, GetTexLevelParameterfv, TexImage2D, CopyTexImage2D, TexSubImage2D and CopySubTexImage2D:

GL_UNIFORM_ARRAY_STRIDEback to summary
public static final int GL_UNIFORM_ARRAY_STRIDE

Accepted by the <pname> parameter of GetActiveUniformsiv:

GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICESback to summary
public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES

Accepted by the <pname> parameter of GetActiveUniformBlockiv:

GL_UNIFORM_BLOCK_ACTIVE_UNIFORMSback to summary
public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS

Accepted by the <pname> parameter of GetActiveUniformBlockiv:

GL_UNIFORM_BLOCK_BINDINGback to summary
public static final int GL_UNIFORM_BLOCK_BINDING

Accepted by the <pname> parameter of GetActiveUniformBlockiv:

GL_UNIFORM_BLOCK_DATA_SIZEback to summary
public static final int GL_UNIFORM_BLOCK_DATA_SIZE

Accepted by the <pname> parameter of GetActiveUniformBlockiv:

GL_UNIFORM_BLOCK_INDEXback to summary
public static final int GL_UNIFORM_BLOCK_INDEX

Accepted by the <pname> parameter of GetActiveUniformsiv:

GL_UNIFORM_BLOCK_NAME_LENGTHback to summary
public static final int GL_UNIFORM_BLOCK_NAME_LENGTH

Accepted by the <pname> parameter of GetActiveUniformBlockiv:

GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADERback to summary
public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER

Accepted by the <pname> parameter of GetActiveUniformBlockiv:

GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADERback to summary
public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER

Accepted by the <pname> parameter of GetActiveUniformBlockiv:

GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADERback to summary
public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER

Accepted by the <pname> parameter of GetActiveUniformBlockiv:

GL_UNIFORM_BUFFERback to summary
public static final int GL_UNIFORM_BUFFER

Accepted by the <target> parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv:

GL_UNIFORM_BUFFER_BINDINGback to summary
public static final int GL_UNIFORM_BUFFER_BINDING

Accepted by the <pname> parameter of GetIntegeri_v, GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_UNIFORM_BUFFER_OFFSET_ALIGNMENTback to summary
public static final int GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT

Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:

GL_UNIFORM_BUFFER_SIZEback to summary
public static final int GL_UNIFORM_BUFFER_SIZE

Accepted by the <pname> parameter of GetIntegeri_v:

GL_UNIFORM_BUFFER_STARTback to summary
public static final int GL_UNIFORM_BUFFER_START

Accepted by the <pname> parameter of GetIntegeri_v:

GL_UNIFORM_IS_ROW_MAJORback to summary
public static final int GL_UNIFORM_IS_ROW_MAJOR

Accepted by the <pname> parameter of GetActiveUniformsiv:

GL_UNIFORM_MATRIX_STRIDEback to summary
public static final int GL_UNIFORM_MATRIX_STRIDE

Accepted by the <pname> parameter of GetActiveUniformsiv:

GL_UNIFORM_NAME_LENGTHback to summary
public static final int GL_UNIFORM_NAME_LENGTH

Accepted by the <pname> parameter of GetActiveUniformsiv:

GL_UNIFORM_OFFSETback to summary
public static final int GL_UNIFORM_OFFSET

Accepted by the <pname> parameter of GetActiveUniformsiv:

GL_UNIFORM_SIZEback to summary
public static final int GL_UNIFORM_SIZE

Accepted by the <pname> parameter of GetActiveUniformsiv:

GL_UNIFORM_TYPEback to summary
public static final int GL_UNIFORM_TYPE

Accepted by the <pname> parameter of GetActiveUniformsiv:

Constructor Detail

GL31back to summary
private GL31()

Method Detail

glCopyBufferSubDataback to summary
public static void glCopyBufferSubData(int readtarget, int writetarget, long readoffset, long writeoffset, long size)
glDrawArraysInstancedback to summary
public static void glDrawArraysInstanced(int mode, int first, int count, int primcount)
glDrawElementsInstancedback to summary
public static void glDrawElementsInstanced(int mode, ByteBuffer indices, int primcount)
glDrawElementsInstancedback to summary
public static void glDrawElementsInstanced(int mode, IntBuffer indices, int primcount)
glDrawElementsInstancedback to summary
public static void glDrawElementsInstanced(int mode, ShortBuffer indices, int primcount)
glDrawElementsInstancedback to summary
public static void glDrawElementsInstanced(int mode, int indices_count, int type, long indices_buffer_offset, int primcount)
glGetActiveUniformBlockback to summary
public static void glGetActiveUniformBlock(int program, int uniformBlockIndex, int pname, IntBuffer params)
glGetActiveUniformBlockback to summary
public static int glGetActiveUniformBlock(int program, int uniformBlockIndex, int pname)

Deprecated

Will be removed in 3.0. Use glGetActiveUniformBlocki instead.

Overloads glGetActiveUniformBlockiv.

Annotations
@Deprecated
glGetActiveUniformBlockiback to summary
public static int glGetActiveUniformBlocki(int program, int uniformBlockIndex, int pname)

Overloads glGetActiveUniformBlockiv.

glGetActiveUniformBlockNameback to summary
public static void glGetActiveUniformBlockName(int program, int uniformBlockIndex, IntBuffer length, ByteBuffer uniformBlockName)
glGetActiveUniformBlockNameback to summary
public static String glGetActiveUniformBlockName(int program, int uniformBlockIndex, int bufSize)

Overloads glGetActiveUniformBlockName.

glGetActiveUniformNameback to summary
public static void glGetActiveUniformName(int program, int uniformIndex, IntBuffer length, ByteBuffer uniformName)
glGetActiveUniformNameback to summary
public static String glGetActiveUniformName(int program, int uniformIndex, int bufSize)

Overloads glGetActiveUniformName.

glGetActiveUniformsback to summary
public static void glGetActiveUniforms(int program, IntBuffer uniformIndices, int pname, IntBuffer params)
glGetActiveUniformsback to summary
public static int glGetActiveUniforms(int program, int uniformIndex, int pname)

Deprecated

Will be removed in 3.0. Use glGetActiveUniformsi instead.

Overloads glGetActiveUniformsiv.

Annotations
@Deprecated
glGetActiveUniformsiback to summary
public static int glGetActiveUniformsi(int program, int uniformIndex, int pname)

Overloads glGetActiveUniformsiv.

glGetUniformBlockIndexback to summary
public static int glGetUniformBlockIndex(int program, ByteBuffer uniformBlockName)
glGetUniformBlockIndexback to summary
public static int glGetUniformBlockIndex(int program, CharSequence uniformBlockName)

Overloads glGetUniformBlockIndex.

glGetUniformIndicesback to summary
public static void glGetUniformIndices(int program, ByteBuffer uniformNames, IntBuffer uniformIndices)
glGetUniformIndicesback to summary
public static void glGetUniformIndices(int program, CharSequence[] uniformNames, IntBuffer uniformIndices)

Overloads glGetUniformIndices.

glPrimitiveRestartIndexback to summary
public static void glPrimitiveRestartIndex(int index)
glTexBufferback to summary
public static void glTexBuffer(int target, int internalformat, int buffer)
glUniformBlockBindingback to summary
public static void glUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding)
nglCopyBufferSubDataback to summary
pack-priv static native void nglCopyBufferSubData(int readtarget, int writetarget, long readoffset, long writeoffset, long size, long function_pointer)
nglDrawArraysInstancedback to summary
pack-priv static native void nglDrawArraysInstanced(int mode, int first, int count, int primcount, long function_pointer)
nglDrawElementsInstancedback to summary
pack-priv static native void nglDrawElementsInstanced(int mode, int indices_count, int type, long indices, int primcount, long function_pointer)
nglDrawElementsInstancedBOback to summary
pack-priv static native void nglDrawElementsInstancedBO(int mode, int indices_count, int type, long indices_buffer_offset, int primcount, long function_pointer)
nglGetActiveUniformBlockivback to summary
pack-priv static native void nglGetActiveUniformBlockiv(int program, int uniformBlockIndex, int pname, long params, long function_pointer)
nglGetActiveUniformBlockNameback to summary
pack-priv static native void nglGetActiveUniformBlockName(int program, int uniformBlockIndex, int uniformBlockName_bufSize, long length, long uniformBlockName, long function_pointer)
nglGetActiveUniformNameback to summary
pack-priv static native void nglGetActiveUniformName(int program, int uniformIndex, int uniformName_bufSize, long length, long uniformName, long function_pointer)
nglGetActiveUniformsivback to summary
pack-priv static native void nglGetActiveUniformsiv(int program, int uniformIndices_uniformCount, long uniformIndices, int pname, long params, long function_pointer)
nglGetUniformBlockIndexback to summary
pack-priv static native int nglGetUniformBlockIndex(int program, long uniformBlockName, long function_pointer)
nglGetUniformIndicesback to summary
pack-priv static native void nglGetUniformIndices(int program, int uniformIndices_uniformCount, long uniformNames, long uniformIndices, long function_pointer)
nglPrimitiveRestartIndexback to summary
pack-priv static native void nglPrimitiveRestartIndex(int index, long function_pointer)
nglTexBufferback to summary
pack-priv static native void nglTexBuffer(int target, int internalformat, int buffer, long function_pointer)
nglUniformBlockBindingback to summary
pack-priv static native void nglUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding, long function_pointer)