Skip to content

glBindBufferRange

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

function glBindBufferRange(int $target, int $index, int $buffer, int $offset, int $size) : void
arguments
  1. int $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.
  2. int $index Specify the index of the binding point within the array specified by target.
  3. int $buffer The name of a buffer object to bind to the specified binding point.
  4. int $offset The starting offset in basic machine units into the buffer object buffer.
  5. int $size The amount of data in machine units that can be read from the buffer object while used as an indexed target.
returns

void


Copyright © 2010-2014 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. https://opencontent.org/openpub/.