logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

C Specification

voidglTransformFeedbackBufferBase(GLuintxfb,GLuintindex,GLuintbuffer);

Description

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

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).

Name

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

Notes

       Calling glTransformFeedbackBufferBase is equivalent to calling glTransformFeedbackBufferRange() with
       offset zero and size equal to the size of 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.

See Also

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

Version Support

       ┌───────────────────────────────┬───────────────────────────────────────────────────────────────────────┐
       │                               │                OpenGLVersion                                         │
       ├───────────────────────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
       │ Function2.02.13.03.13.23.34.04.14.24.34.44.5 │
       │ /                             │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Feature                       │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Name                          │     │     │     │     │     │     │     │     │     │     │     │     │
       ├───────────────────────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
       │ glTransformFeedbackBufferBase │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  ✔  │
       └───────────────────────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘

See Also