GLBINDTRANSFORMFEEDB(3G)
bestie welcome to the GLBINDTRANSFORMFEEDB(3G) page β thatβs the 3G manual, the header has a lil [FIXME: manual] placeholder, and todayβs main character is glBindTransformFeedback. she binds transform feedback objects and honestly? iconic. β¨
π NAME π
glBindTransformFeedback β bind a transform feedback object.
π C SPECIFICATION π
void glBindTransformFeedback(GLenum target, GLuint id);
π PARAMETERS π
targetβ specifies the target to which to bind the transform feedback objectid.targetmust beGL_TRANSFORM_FEEDBACK, no exceptions bestie.idβ specifies the name of a transform feedback object reserved byglGenTransformFeedbacks().
πΈ DESCRIPTION πΈ
okay so glBindTransformFeedback binds the transform feedback object with name id to the current GL state. id must be a name previously returned from a call to glGenTransformFeedbacks(). If id has not previously been bound, a new transform feedback object with name id and initialized with the default transform state vector is created. cute, right? π«Ά
In the initial state, a default transform feedback object is bound and treated as a transform feedback object with a name of zero. If the name zero is subsequently bound, the default transform feedback object is again bound to the GL state. zero is lowkey the main character too. π
While a transform feedback buffer object is bound, GL operations on the target to which it is bound affect the bound transform feedback object, and queries of the target to which a transform feedback object is bound return state from the bound object. When buffer objects are bound for transform feedback, they are attached to the currently bound transform feedback object. Buffer objects are used for transform feedback only if they are attached to the currently bound transform feedback object. thatβs the whole vibe: attachment matters. π
π ERRORS π
GL_INVALID_ENUMis generated iftargetis notGL_TRANSFORM_FEEDBACK.GL_INVALID_OPERATIONis generated if the transform feedback operation is active on the currently bound transform feedback object, and that operation is not paused.GL_INVALID_OPERATIONis generated ifidis not zero or the name of a transform feedback object returned from a previous call toglGenTransformFeedbacks(), or if such a name has been deleted byglDeleteTransformFeedbacks().
bestie these errors are not here to play β check yatarget, check yaid, and check if that transform feedback operation is paused. π
π΅οΈ ASSOCIATED GETS π΅οΈ
glGet() with argument GL_TRANSFORM_FEEDBACK_BINDING.
π VERSION SUPPORT π
the original chart is giving OpenGL Version across the top and Function / Feature Name on the row label: glBindTransformFeedback. hereβs the version-by-version vibe check, no cap:
2.0:-2.1:-3.0:-3.1:-3.2:-3.3:-4.0: β4.1: β4.2: β4.3: β4.4: β4.5: β
π SEE ALSO π
glGenTransformFeedbacks()glDeleteTransformFeedbacks()glIsTransformFeedback()glBeginTransformFeedback()glPauseTransformFeedback()glResumeTransformFeedback()glEndTransformFeedback
π COPYRIGHT π
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. http://opencontent.org/openpub/.
π COPYRIGHT (again, legal bestie) π
Copyright Β© 2010-2014 Khronos Group.
and thatβs the page!! footer crumbs for the girlies: source is [FIXME: source], date is 08/09/2021, and the manual tag is GLBINDTRANSFORMFEEDB(3G). bye bestie πβ¨
π¦ 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