GLTRANSFORMFEEDBACKB(3G)

NAME
glTransformFeedbackBufferBase - bind a buffer object to a transform feedback buffer object

C SPECIFICATION

void glTransformFeedbackBufferBase(GLuint xfb, GLuint index, GLuint buffer);

PARAMETERS

xfb
    Name of the transform feedback buffer object.

index
    Index of the binding point within xfb.

buffer
    Name of the buffer object to bind to the specified binding point.

DESCRIPTION

glTransformFeedbackBufferBase binds the buffer object buffer to the binding point at index index of the transform feedback object xfb.

NOTES

Calling glTransformFeedbackBufferBase is equivalent to calling glTransformFeedbackBufferRange() with offset zero and size equal to the size of buffer.

ERRORS

GL_INVALID_OPERATION is generated if xfb is not the name of an existing transform feedback object.

GL_INVALID_VALUE is generated if in buffer is not zero or the name of an existing buffer object.

GL_INVALID_VALUE is generated if index is greater than or equal to the number of transform feedback buffer binding points (the value of GL_TRANSFORM_FEEDBACK_BUFFER_BINDING).

VERSION SUPPORT
 | OpenGL Version
Function / Feature Name | 2.0 | 2.1 | 3.0 | 3.1 | 3.2 | 3.3 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5
glTransformFeedbackBufferBase | - | - | - | - | - | - | - | - | - | - | - | ✔

SEE ALSO

glBindBufferRange(), glBindBufferBase(), glTransformFeedbackBufferRange().

COPYRIGHT

Copyright © 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/.

COPYRIGHT
Copyright © 2014 Khronos Group