Modifier and Type | Field and Description |
---|---|
static int |
GL_COMPRESSED_RED_RGTC1 |
static int |
GL_COMPRESSED_RG_RGTC2 |
static int |
GL_COMPRESSED_SIGNED_RED_RGTC1 |
static int |
GL_COMPRESSED_SIGNED_RG_RGTC2 |
static int |
GL_DEPTH_STENCIL_ATTACHMENT |
static int |
GL_GEOMETRY_SHADER |
static int |
GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS |
static int |
GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS |
static int |
GL_MAX_COMBINED_UNIFORM_BLOCKS |
static int |
GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS |
static int |
GL_MAX_FRAGMENT_UNIFORM_BLOCKS |
static int |
GL_MAX_GEOMETRY_UNIFORM_BLOCKS |
static int |
GL_MAX_UNIFORM_BLOCK_SIZE |
static int |
GL_MAX_UNIFORM_BUFFER_BINDINGS |
static int |
GL_MAX_VERTEX_UNIFORM_BLOCKS
Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
GetFloatv, and GetDoublev:
|
static int |
GL_NUM_EXTENSIONS |
static int |
GL_R16F |
static int |
GL_R16I |
static int |
GL_R16UI |
static int |
GL_R32F |
static int |
GL_R32I |
static int |
GL_R32UI |
static int |
GL_R8 |
static int |
GL_R8I |
static int |
GL_R8UI |
static int |
GL_RED_INTEGER |
static int |
GL_RG |
static int |
GL_RG_INTEGER |
static int |
GL_RG16F |
static int |
GL_RG16I |
static int |
GL_RG16UI |
static int |
GL_RG32F |
static int |
GL_RG32I |
static int |
GL_RG32UI |
static int |
GL_RG8 |
static int |
GL_RG8I |
static int |
GL_RG8UI |
static int |
GL_RGB_INTEGER |
static int |
GL_RGB16I |
static int |
GL_RGB16UI |
static int |
GL_RGB32I |
static int |
GL_RGB32UI |
static int |
GL_RGB8I |
static int |
GL_RGB8UI |
static int |
GL_RGBA_INTEGER |
static int |
GL_RGBA16I |
static int |
GL_RGBA16UI |
static int |
GL_RGBA32I |
static int |
GL_RGBA32UI |
static int |
GL_RGBA8I |
static int |
GL_RGBA8UI |
static int |
GL_TEXTURE_SWIZZLE_A |
static int |
GL_TEXTURE_SWIZZLE_B |
static int |
GL_TEXTURE_SWIZZLE_G |
static int |
GL_TEXTURE_SWIZZLE_R |
static int |
GL_TRANSFORM_FEEDBACK_BUFFER
Accepted by the
target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv,
BindBufferRange, BindBufferOffset and BindBufferBase. |
static int |
GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES |
static int |
GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS |
static int |
GL_UNIFORM_BLOCK_BINDING
Accepted by the
pname parameter of GetActiveUniformBlockiv. |
static int |
GL_UNIFORM_BLOCK_DATA_SIZE |
static int |
GL_UNIFORM_BLOCK_NAME_LENGTH |
static int |
GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER |
static int |
GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER |
static int |
GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER |
static int |
GL_UNIFORM_BUFFER
Accepted by the
target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv. |
static int |
GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT |
static int |
GL_UNIFORM_OFFSET |
GL_ALPHA_TEST, GL_ALPHA8, GL_BGR, GL_BGRA, GL_COMPARE_REF_TO_TEXTURE, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_DEPTH_TEXTURE_MODE, GL_DOUBLEBUFFER, GL_DRAW_BUFFER, GL_FILL, GL_GENERATE_MIPMAP, GL_INTENSITY, GL_LINE, GL_LUMINANCE8, GL_LUMINANCE8_ALPHA8, GL_MAX_ELEMENTS_INDICES, GL_MAX_ELEMENTS_VERTICES, GL_MAX_FRAGMENT_UNIFORM_COMPONENTS, GL_MAX_VERTEX_UNIFORM_COMPONENTS, GL_POINT, GL_POINT_SPRITE, GL_READ_BUFFER, GL_RGB8, GL_STACK_OVERFLOW, GL_STACK_UNDERFLOW, GL_TEXTURE_3D, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_R, GL_UNSIGNED_INT_8_8_8_8, GL_VERTEX_PROGRAM_POINT_SIZE
GL_ALPHA, GL_ALWAYS, GL_ARRAY_BUFFER, GL_BACK, GL_BLEND, GL_BLUE, GL_BYTE, GL_CLAMP_TO_EDGE, GL_COLOR_BUFFER_BIT, GL_COMPILE_STATUS, GL_CULL_FACE, GL_DECR, GL_DECR_WRAP, GL_DEPTH_BUFFER_BIT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_TEST, GL_DOUBLE, GL_DST_ALPHA, GL_DST_COLOR, GL_DYNAMIC_COPY, GL_DYNAMIC_DRAW, GL_ELEMENT_ARRAY_BUFFER, GL_EQUAL, GL_EXTENSIONS, GL_FALSE, GL_FLOAT, GL_FRAGMENT_SHADER, GL_FRAMEBUFFER_BINDING, GL_FRONT, GL_FRONT_AND_BACK, GL_FUNC_ADD, GL_FUNC_REVERSE_SUBTRACT, GL_FUNC_SUBTRACT, GL_GEQUAL, GL_GREATER, GL_GREEN, GL_INCR, GL_INCR_WRAP, GL_INFO_LOG_LENGTH, GL_INT, GL_INVALID_ENUM, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEQUAL, GL_LESS, GL_LINE_LOOP, GL_LINE_STRIP, GL_LINEAR, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LINK_STATUS, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_MAX, GL_MAX_CUBE_MAP_TEXTURE_SIZE, GL_MAX_FRAGMENT_UNIFORM_VECTORS, GL_MAX_TEXTURE_IMAGE_UNITS, GL_MAX_TEXTURE_SIZE, GL_MAX_VERTEX_ATTRIBS, GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, GL_MAX_VERTEX_UNIFORM_VECTORS, GL_MIN, GL_MIRRORED_REPEAT, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NO_ERROR, GL_NONE, GL_NOTEQUAL, GL_ONE, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OUT_OF_MEMORY, GL_POINTS, GL_POLYGON_OFFSET_FILL, GL_QUERY_RESULT, GL_QUERY_RESULT_AVAILABLE, GL_RED, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RGB, GL_RGB5_A1, GL_RGB565, GL_RGBA, GL_RGBA4, GL_SCISSOR_TEST, GL_SHADING_LANGUAGE_VERSION, GL_SHORT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STATIC_DRAW, GL_STENCIL_BUFFER_BIT, GL_STENCIL_TEST, GL_STREAM_DRAW, GL_STREAM_READ, GL_TEXTURE, GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE0, GL_TEXTURE1, GL_TEXTURE10, GL_TEXTURE11, GL_TEXTURE12, GL_TEXTURE13, GL_TEXTURE14, GL_TEXTURE15, GL_TEXTURE2, GL_TEXTURE3, GL_TEXTURE4, GL_TEXTURE5, GL_TEXTURE6, GL_TEXTURE7, GL_TEXTURE8, GL_TEXTURE9, GL_TIME_ELAPSED, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNPACK_ROW_LENGTH, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_6_5, GL_VENDOR, GL_VERSION, GL_VERTEX_SHADER, GL_ZERO
Modifier and Type | Method and Description |
---|---|
void |
glBindBufferBase(int target,
int index,
int buffer)
|
void |
glBindFragDataLocation(int program,
int colorNumber,
java.lang.String name)
|
void |
glBindVertexArray(int array)
|
void |
glDeleteVertexArrays(java.nio.IntBuffer arrays)
Deletes vertex array objects.
|
void |
glGenVertexArrays(java.nio.IntBuffer arrays)
|
java.lang.String |
glGetString(int name,
int index)
|
int |
glGetUniformBlockIndex(int program,
java.lang.String uniformBlockName)
|
void |
glUniformBlockBinding(int program,
int uniformBlockIndex,
int uniformBlockBinding)
Binding points for active uniform blocks are assigned using glUniformBlockBinding.
|
glAlphaFunc, glCompressedTexImage3D, glCompressedTexSubImage3D, glDrawBuffer, glPointSize, glPolygonMode, glReadBuffer, glTexImage3D, glTexSubImage3D
glActiveTexture, glAttachShader, glBeginQuery, glBindBuffer, glBindTexture, glBlendEquationSeparate, glBlendFunc, glBlendFuncSeparate, glBufferData, glBufferData, glBufferData, glBufferData, glBufferSubData, glBufferSubData, glBufferSubData, glClear, glClearColor, glColorMask, glCompileShader, glCompressedTexImage2D, glCompressedTexSubImage2D, glCreateProgram, glCreateShader, glCullFace, glDeleteBuffers, glDeleteProgram, glDeleteShader, glDeleteTextures, glDepthFunc, glDepthMask, glDepthRange, glDetachShader, glDisable, glDisableVertexAttribArray, glDrawArrays, glDrawRangeElements, glEnable, glEnableVertexAttribArray, glEndQuery, glGenBuffers, glGenQueries, glGenTextures, glGetAttribLocation, glGetBoolean, glGetBufferSubData, glGetError, glGetInteger, glGetProgram, glGetProgramInfoLog, glGetQueryObjectiv, glGetQueryObjectui64, glGetShader, glGetShaderInfoLog, glGetString, glGetUniformLocation, glIsEnabled, glLineWidth, glLinkProgram, glPixelStorei, glPolygonOffset, glReadPixels, glReadPixels, glScissor, glShaderSource, glStencilFuncSeparate, glStencilOpSeparate, glTexImage2D, glTexParameterf, glTexParameteri, glTexSubImage2D, glUniform1, glUniform1, glUniform1f, glUniform1i, glUniform2, glUniform2, glUniform2f, glUniform3, glUniform3, glUniform3f, glUniform4, glUniform4, glUniform4f, glUniformMatrix3, glUniformMatrix4, glUseProgram, glVertexAttribPointer, glViewport, resetStats
static final int GL_DEPTH_STENCIL_ATTACHMENT
static final int GL_GEOMETRY_SHADER
static final int GL_NUM_EXTENSIONS
static final int GL_R8
static final int GL_R16F
static final int GL_R32F
static final int GL_RG16F
static final int GL_RG32F
static final int GL_RG
static final int GL_RG8
static final int GL_TEXTURE_SWIZZLE_A
static final int GL_TEXTURE_SWIZZLE_B
static final int GL_TEXTURE_SWIZZLE_G
static final int GL_TEXTURE_SWIZZLE_R
static final int GL_COMPRESSED_RED_RGTC1
static final int GL_COMPRESSED_SIGNED_RED_RGTC1
static final int GL_COMPRESSED_RG_RGTC2
static final int GL_COMPRESSED_SIGNED_RG_RGTC2
static final int GL_R8I
static final int GL_R8UI
static final int GL_R16I
static final int GL_R16UI
static final int GL_R32I
static final int GL_R32UI
static final int GL_RG8I
static final int GL_RG8UI
static final int GL_RG16I
static final int GL_RG16UI
static final int GL_RG32I
static final int GL_RG32UI
static final int GL_RGBA32UI
static final int GL_RGB32UI
static final int GL_RGBA16UI
static final int GL_RGB16UI
static final int GL_RGBA8UI
static final int GL_RGB8UI
static final int GL_RGBA32I
static final int GL_RGB32I
static final int GL_RGBA16I
static final int GL_RGB16I
static final int GL_RGBA8I
static final int GL_RGB8I
static final int GL_RED_INTEGER
static final int GL_RG_INTEGER
static final int GL_RGB_INTEGER
static final int GL_RGBA_INTEGER
static final int GL_UNIFORM_OFFSET
static final int GL_UNIFORM_BUFFER
target
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv.static final int GL_UNIFORM_BLOCK_BINDING
pname
parameter of GetActiveUniformBlockiv.static final int GL_UNIFORM_BLOCK_DATA_SIZE
static final int GL_UNIFORM_BLOCK_NAME_LENGTH
static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS
static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES
static final int GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER
static final int GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER
static final int GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER
static final int GL_MAX_VERTEX_UNIFORM_BLOCKS
static final int GL_MAX_GEOMETRY_UNIFORM_BLOCKS
static final int GL_MAX_FRAGMENT_UNIFORM_BLOCKS
static final int GL_MAX_COMBINED_UNIFORM_BLOCKS
static final int GL_MAX_UNIFORM_BUFFER_BINDINGS
static final int GL_MAX_UNIFORM_BLOCK_SIZE
static final int GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS
static final int GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS
static final int GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS
static final int GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT
static final int GL_TRANSFORM_FEEDBACK_BUFFER
target
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv,
BindBufferRange, BindBufferOffset and BindBufferBase.void glBindFragDataLocation(int program, int colorNumber, java.lang.String name)
Binds a user-defined varying out variable to a fragment shader color number.
program
- the name of the program containing varying out variable whose binding to modify.colorNumber
- the color number to bind the user-defined varying out variable to.name
- the name of the user-defined varying out variable whose binding to modify.void glBindVertexArray(int array)
Binds a vertex array object
array
- the name of the vertex array to bind.void glDeleteVertexArrays(java.nio.IntBuffer arrays)
arrays
- an array containing the n names of the objects to be deleted.void glGenVertexArrays(java.nio.IntBuffer arrays)
arrays
- a buffer in which the generated vertex array object names are stored.java.lang.String glGetString(int name, int index)
name
- the indexed state to query. One of:
EXTENSIONS
SHADING_LANGUAGE_VERSION
index
- the index of the particular element being queried.int glGetUniformBlockIndex(int program, java.lang.String uniformBlockName)
program
- the name of a program containing the uniform block.uniformBlockName
- an array of characters to containing the name of the uniform block whose index to retrieve.void glBindBufferBase(int target, int index, int buffer)
target
- the target of the bind operation. One of:
TRANSFORM_FEEDBACK_BUFFER
UNIFORM_BUFFER
ATOMIC_COUNTER_BUFFER
SHADER_STORAGE_BUFFER
index
- the index of the binding point within the array specified by target
buffer
- a buffer object to bind to the specified binding pointvoid glUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding)
If successful, glUniformBlockBinding specifies that program will use the data store of the buffer object bound to the binding point uniformBlockBinding to extract the values of the uniforms in the uniform block identified by uniformBlockIndex.
When a program object is linked or re-linked, the uniform buffer object binding point assigned to each of its active uniform blocks is reset to zero.
program
- The name of a program object containing the active uniform block whose binding to
assign.uniformBlockIndex
- The index of the active uniform block within program whose binding to assign.uniformBlockBinding
- Specifies the binding point to which to bind the uniform block with index
uniformBlockIndex within program.