GLTRANSFORMFEEDBACKB(3G)
π GLTRANSFORMFEEDBACKB
okay so literally the manual page name is GLTRANSFORMFEEDBACKB(3G) β the (3G) is the manual section bestie, that's the OpenGL one π β and today we're learning how to glue a buffer object onto a transform feedback buffer object. it's giving binding energy β¨
β¨ NAME β¨
glTransformFeedbackBufferBase β bind a buffer object to a transform feedback buffer object. that's the whole job. one job. she does it well π
πΈ C SPECIFICATION πΈ
void glTransformFeedbackBufferBase(GLuint xfb, GLuint index,
GLuint buffer);
look at her. three parameters. no notes. iconic. π
π¦ PARAMETERS π¦
xfbβ the name of the transform feedback buffer object. this is the one we're decorating bestie πindexβ the index of the binding point withinxfb. like which little hook on the rack we're hanging this on.bufferβ the name of the buffer object to bind to that specified binding point. the actual thing being hung up π
π DESCRIPTION π
glTransformFeedbackBufferBase binds the buffer object buffer to the binding point at index index of the transform feedback object xfb. literally that's it. no cap. assignment complete. π«Ά
π NOTES π
calling glTransformFeedbackBufferBase is equivalent to calling glTransformFeedbackBufferRange() with offset zero and size equal to the size of buffer. so like, same result, different outfit. iykyk β¨
π₯ ERRORS π₯
GL_INVALID_OPERATIONis generated ifxfbis not the name of an existing transform feedback object. (bestie that object does not exist π)GL_INVALID_VALUEis generated if inbufferis not zero or the name of an existing buffer object. yeah the original says "if in buffer" β i'm not touching it, that's the canonical text, we respect the source in this house π«‘GL_INVALID_VALUEis generated ifindexis greater than or equal to the number of transform feedback buffer binding points (that number is the value ofGL_TRANSFORM_FEEDBACK_BUFFER_BINDING). out of range = no β
β VERSION SUPPORT β
so the original has a whole giant grid here, and since we're in a terminal we're doing it as a list. same facts, cuter delivery π
which OpenGL versions support glTransformFeedbackBufferBase? brace yourself:
- OpenGL 2.0 β
- - OpenGL 2.1 β
- - OpenGL 3.0 β
- - OpenGL 3.1 β
- - OpenGL 3.2 β
- - OpenGL 3.3 β
- - OpenGL 4.0 β
- - OpenGL 4.1 β
- - OpenGL 4.2 β
- - OpenGL 4.3 β
- - OpenGL 4.4 β
- - OpenGL 4.5 β β
so basically 4.5 only. she's a late bloomer and that's fine, she's thriving πΈπ
π§ SEE ALSO π§
glBindBufferRange()glBindBufferBase()glTransformFeedbackBufferRange()
go read those too, they're the friend group π«Ά
π 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. http://opencontent.org/openpub/
Copyright Β© 2014 Khronos Group
okay that's the whole page bestie, go forth and bind responsibly π β¨
sign-off time π β this one came from [FIXME: source] and it's dated 08/09/2021 π¦ mwah, love u, bye π
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms