table of contents
GLBINDBUFFERRANGE(3G) | [FIXME: manual] | GLBINDBUFFERRANGE(3G) |
NAME¶
glBindBufferRange - bind a range within a buffer object to an indexed buffer targetC SPECIFICATION¶
void
glBindBufferRange(GLenumtarget, GLuintindex,
GLuintbuffer, GLintptroffset,
GLsizeiptrsize);
PARAMETERS¶
targetSpecify the target of the bind operation.
target must be one of GL_ATOMIC_COUNTER_BUFFER,
GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER.
index
Specify the index of the binding point within
the array specified by target.
buffer
The name of a buffer object to bind to the
specified binding point.
offset
The starting offset in basic machine units
into the buffer object buffer.
size
The amount of data in machine units that can
be read from the buffet object while used as an indexed target.
DESCRIPTION¶
NOTES¶
The GL_ATOMIC_COUNTER_BUFER target is available only if the GL version is 4.2 or greater.ERRORS¶
SEE ALSO¶
COPYRIGHT¶
Copyright © 2010-2011 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.05/30/2012 | [FIXME: source] |