glBindBufferRange

bind a range within a buffer object to an indexed buffer target

Signature

glBindBufferRange( GLenum( target ) , GLuint( index ) , GLuint( buffer ) , GLintptr( offset ) , GLsizeiptr( size ) )-> void
glBindBufferRange( target , index , buffer , offset , size )

Parameters

VariablesDescription
target
Specify the target of the bind operation. target must be one of GL_ATOMIC_COUNTER_BUFFER , GL_TRANSFORM_FEEDBACK_BUFFER , GL_UNIFORM_BUFFER , or GL_SHADER_STORAGE_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.