Top Fields Constructors Methods
org.lwjgl.opengl

public final Class ARBUniformBufferObject

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
GL_INVALID_INDEX

Returned by GetActiveUniformsivARB and GetUniformBlockIndexARB

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_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_UNIFORM_ARRAY_STRIDE

Accepted by the <pname> parameter of GetActiveUniformsivARB:

public static final int
GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

public static final int
GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

public static final int
GL_UNIFORM_BLOCK_BINDING

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

public static final int
GL_UNIFORM_BLOCK_DATA_SIZE

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

public static final int
GL_UNIFORM_BLOCK_INDEX

Accepted by the <pname> parameter of GetActiveUniformsivARB:

public static final int
GL_UNIFORM_BLOCK_NAME_LENGTH

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

public static final int
GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

public static final int
GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

public static final int
GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

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 GetActiveUniformsivARB:

public static final int
GL_UNIFORM_MATRIX_STRIDE

Accepted by the <pname> parameter of GetActiveUniformsivARB:

public static final int
GL_UNIFORM_NAME_LENGTH

Accepted by the <pname> parameter of GetActiveUniformsivARB:

public static final int
GL_UNIFORM_OFFSET

Accepted by the <pname> parameter of GetActiveUniformsivARB:

public static final int
GL_UNIFORM_SIZE

Accepted by the <pname> parameter of GetActiveUniformsivARB:

public static final int
GL_UNIFORM_TYPE

Accepted by the <pname> parameter of GetActiveUniformsivARB:

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
glBindBufferBase(int target, int index, int buffer)

public static void
glBindBufferRange(int target, int index, int buffer, long offset, long size)

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 void
glGetInteger(int value, int index, IntBuffer data)

public static int
glGetInteger(int value, int index)

Overloads glGetIntegeri_v.

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
glUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding)

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_INVALID_INDEXback to summary
public static final int GL_INVALID_INDEX

Returned by GetActiveUniformsivARB and GetUniformBlockIndexARB

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_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_UNIFORM_ARRAY_STRIDEback to summary
public static final int GL_UNIFORM_ARRAY_STRIDE

Accepted by the <pname> parameter of GetActiveUniformsivARB:

GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICESback to summary
public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

GL_UNIFORM_BLOCK_ACTIVE_UNIFORMSback to summary
public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

GL_UNIFORM_BLOCK_BINDINGback to summary
public static final int GL_UNIFORM_BLOCK_BINDING

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

GL_UNIFORM_BLOCK_DATA_SIZEback to summary
public static final int GL_UNIFORM_BLOCK_DATA_SIZE

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

GL_UNIFORM_BLOCK_INDEXback to summary
public static final int GL_UNIFORM_BLOCK_INDEX

Accepted by the <pname> parameter of GetActiveUniformsivARB:

GL_UNIFORM_BLOCK_NAME_LENGTHback to summary
public static final int GL_UNIFORM_BLOCK_NAME_LENGTH

Accepted by the <pname> parameter of GetActiveUniformBlockivARB:

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 GetActiveUniformBlockivARB:

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 GetActiveUniformBlockivARB:

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 GetActiveUniformBlockivARB:

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 GetActiveUniformsivARB:

GL_UNIFORM_MATRIX_STRIDEback to summary
public static final int GL_UNIFORM_MATRIX_STRIDE

Accepted by the <pname> parameter of GetActiveUniformsivARB:

GL_UNIFORM_NAME_LENGTHback to summary
public static final int GL_UNIFORM_NAME_LENGTH

Accepted by the <pname> parameter of GetActiveUniformsivARB:

GL_UNIFORM_OFFSETback to summary
public static final int GL_UNIFORM_OFFSET

Accepted by the <pname> parameter of GetActiveUniformsivARB:

GL_UNIFORM_SIZEback to summary
public static final int GL_UNIFORM_SIZE

Accepted by the <pname> parameter of GetActiveUniformsivARB:

GL_UNIFORM_TYPEback to summary
public static final int GL_UNIFORM_TYPE

Accepted by the <pname> parameter of GetActiveUniformsivARB:

Constructor Detail

ARBUniformBufferObjectback to summary
private ARBUniformBufferObject()

Method Detail

glBindBufferBaseback to summary
public static void glBindBufferBase(int target, int index, int buffer)
glBindBufferRangeback to summary
public static void glBindBufferRange(int target, int index, int buffer, long offset, long size)
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.

glGetIntegerback to summary
public static void glGetInteger(int value, int index, IntBuffer data)
glGetIntegerback to summary
public static int glGetInteger(int value, int index)

Overloads glGetIntegeri_v.

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.

glUniformBlockBindingback to summary
public static void glUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding)