Package org.lwjgl.opengl
Class ARBUniformBufferObject
java.lang.Object
org.lwjgl.opengl.ARBUniformBufferObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by the <pname> parameter of GetProgramiv:static final intAccepted by the <pname> parameter of GetProgramiv:static final intReturned by GetActiveUniformsivARB and GetUniformBlockIndexARBstatic final intAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetActiveUniformsivARB:static final intAccepted by the <pname> parameter of GetActiveUniformBlockivARB:static final intAccepted by the <pname> parameter of GetActiveUniformBlockivARB:static final intAccepted by the <pname> parameter of GetActiveUniformBlockivARB:static final intAccepted by the <pname> parameter of GetActiveUniformBlockivARB:static final intAccepted by the <pname> parameter of GetActiveUniformsivARB:static final intAccepted by the <pname> parameter of GetActiveUniformBlockivARB:static final intAccepted by the <pname> parameter of GetActiveUniformBlockivARB:static final intAccepted by the <pname> parameter of GetActiveUniformBlockivARB:static final intAccepted by the <pname> parameter of GetActiveUniformBlockivARB:static final intAccepted by the <target> parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv:static final intAccepted by the <pname> parameter of GetIntegeri_v, GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:static final intAccepted by the <pname> parameter of GetIntegeri_v:static final intAccepted by the <pname> parameter of GetIntegeri_v:static final intAccepted by the <pname> parameter of GetActiveUniformsivARB:static final intAccepted by the <pname> parameter of GetActiveUniformsivARB:static final intAccepted by the <pname> parameter of GetActiveUniformsivARB:static final intAccepted by the <pname> parameter of GetActiveUniformsivARB:static final intAccepted by the <pname> parameter of GetActiveUniformsivARB:static final intAccepted by the <pname> parameter of GetActiveUniformsivARB: -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglBindBufferBase(int target, int index, int buffer) static voidglBindBufferRange(int target, int index, int buffer, long offset, long size) static intglGetActiveUniformBlock(int program, int uniformBlockIndex, int pname) Deprecated.Will be removed in 3.0.static voidglGetActiveUniformBlock(int program, int uniformBlockIndex, int pname, IntBuffer params) static intglGetActiveUniformBlocki(int program, int uniformBlockIndex, int pname) Overloads glGetActiveUniformBlockiv.static StringglGetActiveUniformBlockName(int program, int uniformBlockIndex, int bufSize) Overloads glGetActiveUniformBlockName.static voidglGetActiveUniformBlockName(int program, int uniformBlockIndex, IntBuffer length, ByteBuffer uniformBlockName) static StringglGetActiveUniformName(int program, int uniformIndex, int bufSize) Overloads glGetActiveUniformName.static voidglGetActiveUniformName(int program, int uniformIndex, IntBuffer length, ByteBuffer uniformName) static intglGetActiveUniforms(int program, int uniformIndex, int pname) Deprecated.Will be removed in 3.0.static voidglGetActiveUniforms(int program, IntBuffer uniformIndices, int pname, IntBuffer params) static intglGetActiveUniformsi(int program, int uniformIndex, int pname) Overloads glGetActiveUniformsiv.static intglGetInteger(int value, int index) Overloads glGetIntegeri_v.static voidglGetInteger(int value, int index, IntBuffer data) static intglGetUniformBlockIndex(int program, CharSequence uniformBlockName) Overloads glGetUniformBlockIndex.static intglGetUniformBlockIndex(int program, ByteBuffer uniformBlockName) static voidglGetUniformIndices(int program, CharSequence[] uniformNames, IntBuffer uniformIndices) Overloads glGetUniformIndices.static voidglGetUniformIndices(int program, ByteBuffer uniformNames, IntBuffer uniformIndices) static voidglUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding)
-
Field Details
-
GL_UNIFORM_BUFFER
public static final int GL_UNIFORM_BUFFERAccepted by the <target> parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv:- See Also:
-
GL_UNIFORM_BUFFER_BINDING
public static final int GL_UNIFORM_BUFFER_BINDINGAccepted by the <pname> parameter of GetIntegeri_v, GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_UNIFORM_BUFFER_START
public static final int GL_UNIFORM_BUFFER_STARTAccepted by the <pname> parameter of GetIntegeri_v:- See Also:
-
GL_UNIFORM_BUFFER_SIZE
public static final int GL_UNIFORM_BUFFER_SIZEAccepted by the <pname> parameter of GetIntegeri_v:- See Also:
-
GL_MAX_VERTEX_UNIFORM_BLOCKS
public static final int GL_MAX_VERTEX_UNIFORM_BLOCKSAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_MAX_GEOMETRY_UNIFORM_BLOCKS
public static final int GL_MAX_GEOMETRY_UNIFORM_BLOCKSAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_MAX_FRAGMENT_UNIFORM_BLOCKS
public static final int GL_MAX_FRAGMENT_UNIFORM_BLOCKSAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_MAX_COMBINED_UNIFORM_BLOCKS
public static final int GL_MAX_COMBINED_UNIFORM_BLOCKSAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_MAX_UNIFORM_BUFFER_BINDINGS
public static final int GL_MAX_UNIFORM_BUFFER_BINDINGSAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_MAX_UNIFORM_BLOCK_SIZE
public static final int GL_MAX_UNIFORM_BLOCK_SIZEAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS
public static final int GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTSAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS
public static final int GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTSAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS
public static final int GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTSAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT
public static final int GL_UNIFORM_BUFFER_OFFSET_ALIGNMENTAccepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:- See Also:
-
GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH
public static final int GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTHAccepted by the <pname> parameter of GetProgramiv:- See Also:
-
GL_ACTIVE_UNIFORM_BLOCKS
public static final int GL_ACTIVE_UNIFORM_BLOCKSAccepted by the <pname> parameter of GetProgramiv:- See Also:
-
GL_UNIFORM_TYPE
public static final int GL_UNIFORM_TYPEAccepted by the <pname> parameter of GetActiveUniformsivARB:- See Also:
-
GL_UNIFORM_SIZE
public static final int GL_UNIFORM_SIZEAccepted by the <pname> parameter of GetActiveUniformsivARB:- See Also:
-
GL_UNIFORM_NAME_LENGTH
public static final int GL_UNIFORM_NAME_LENGTHAccepted by the <pname> parameter of GetActiveUniformsivARB:- See Also:
-
GL_UNIFORM_BLOCK_INDEX
public static final int GL_UNIFORM_BLOCK_INDEXAccepted by the <pname> parameter of GetActiveUniformsivARB:- See Also:
-
GL_UNIFORM_OFFSET
public static final int GL_UNIFORM_OFFSETAccepted by the <pname> parameter of GetActiveUniformsivARB:- See Also:
-
GL_UNIFORM_ARRAY_STRIDE
public static final int GL_UNIFORM_ARRAY_STRIDEAccepted by the <pname> parameter of GetActiveUniformsivARB:- See Also:
-
GL_UNIFORM_MATRIX_STRIDE
public static final int GL_UNIFORM_MATRIX_STRIDEAccepted by the <pname> parameter of GetActiveUniformsivARB:- See Also:
-
GL_UNIFORM_IS_ROW_MAJOR
public static final int GL_UNIFORM_IS_ROW_MAJORAccepted by the <pname> parameter of GetActiveUniformsivARB:- See Also:
-
GL_UNIFORM_BLOCK_BINDING
public static final int GL_UNIFORM_BLOCK_BINDINGAccepted by the <pname> parameter of GetActiveUniformBlockivARB:- See Also:
-
GL_UNIFORM_BLOCK_DATA_SIZE
public static final int GL_UNIFORM_BLOCK_DATA_SIZEAccepted by the <pname> parameter of GetActiveUniformBlockivARB:- See Also:
-
GL_UNIFORM_BLOCK_NAME_LENGTH
public static final int GL_UNIFORM_BLOCK_NAME_LENGTHAccepted by the <pname> parameter of GetActiveUniformBlockivARB:- See Also:
-
GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS
public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORMSAccepted by the <pname> parameter of GetActiveUniformBlockivARB:- See Also:
-
GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES
public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICESAccepted by the <pname> parameter of GetActiveUniformBlockivARB:- See Also:
-
GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER
public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADERAccepted by the <pname> parameter of GetActiveUniformBlockivARB:- See Also:
-
GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER
public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADERAccepted by the <pname> parameter of GetActiveUniformBlockivARB:- See Also:
-
GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER
public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADERAccepted by the <pname> parameter of GetActiveUniformBlockivARB:- See Also:
-
GL_INVALID_INDEX
public static final int GL_INVALID_INDEXReturned by GetActiveUniformsivARB and GetUniformBlockIndexARB- See Also:
-
-
Method Details
-
glGetUniformIndices
public static void glGetUniformIndices(int program, ByteBuffer uniformNames, IntBuffer uniformIndices) -
glGetUniformIndices
public static void glGetUniformIndices(int program, CharSequence[] uniformNames, IntBuffer uniformIndices) Overloads glGetUniformIndices. -
glGetActiveUniforms
-
glGetActiveUniforms
Deprecated.Will be removed in 3.0. UseglGetActiveUniformsi(int, int, int)instead.Overloads glGetActiveUniformsiv. -
glGetActiveUniformsi
public static int glGetActiveUniformsi(int program, int uniformIndex, int pname) Overloads glGetActiveUniformsiv. -
glGetActiveUniformName
public static void glGetActiveUniformName(int program, int uniformIndex, IntBuffer length, ByteBuffer uniformName) -
glGetActiveUniformName
Overloads glGetActiveUniformName. -
glGetUniformBlockIndex
-
glGetUniformBlockIndex
Overloads glGetUniformBlockIndex. -
glGetActiveUniformBlock
public static void glGetActiveUniformBlock(int program, int uniformBlockIndex, int pname, IntBuffer params) -
glGetActiveUniformBlock
@Deprecated public static int glGetActiveUniformBlock(int program, int uniformBlockIndex, int pname) Deprecated.Will be removed in 3.0. UseglGetActiveUniformBlocki(int, int, int)instead.Overloads glGetActiveUniformBlockiv. -
glGetActiveUniformBlocki
public static int glGetActiveUniformBlocki(int program, int uniformBlockIndex, int pname) Overloads glGetActiveUniformBlockiv. -
glGetActiveUniformBlockName
public static void glGetActiveUniformBlockName(int program, int uniformBlockIndex, IntBuffer length, ByteBuffer uniformBlockName) -
glGetActiveUniformBlockName
Overloads glGetActiveUniformBlockName. -
glBindBufferRange
public static void glBindBufferRange(int target, int index, int buffer, long offset, long size) -
glBindBufferBase
public static void glBindBufferBase(int target, int index, int buffer) -
glGetInteger
-
glGetInteger
public static int glGetInteger(int value, int index) Overloads glGetIntegeri_v. -
glUniformBlockBinding
public static void glUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding)
-