GLBEGINTRANSFORMFEED(3G)
β¨ NAME β¨
okay bestie, welcome to the GLBEGINTRANSFORMFEED(3G) page β yes, the header has a little [FIXME: manual] placeholder, but the manual name is GLBEGINTRANSFORMFEED(3G). This one is all about glBeginTransformFeedback and its whole βstart transform feedback operationβ moment. Periodt. π
π§Ύ C SPECIFICATION π§Ύ
Here are the exact signatures, no cap:
void glBeginTransformFeedback(GLenum primitiveMode);
void glEndTransformFeedback(void);
π PARAMETERS FOR GLBEGINTRANSFORMFEEDBACK π
primitiveModeβ specify the output type of the primitives that will be recorded into the buffer objects that are bound for transform feedback. Thatβs the whole assignment, bestie. π«Ά
π DESCRIPTION π
Transform feedback mode captures the values of varying variables written by the vertex shader β or, if itβs active, the geometry shader. Itβs giving βrecord the shader tea into buffersβ energy. β¨
Transform feedback is said to be active after a call to glBeginTransformFeedback until a subsequent call to glEndTransformFeedback. Transform feedback commands must be paired β so like, do not leave your begin hanging, bestie. π
If no geometry shader is present, while transform feedback is active the mode parameter to glDrawArrays() must match those specified in this tableβs info. Hereβs the match-up in cute-list form:
- Transform feedback
primitiveMode:GL_POINTSβ allowed render primitive modes:GL_POINTS - Transform feedback
primitiveMode:GL_LINESβ allowed render primitive modes:GL_LINES,GL_LINE_LOOP,GL_LINE_STRIP,GL_LINES_ADJACENCY,GL_LINE_STRIP_ADJACENCY - Transform feedback
primitiveMode:GL_TRIANGLESβ allowed render primitive modes:GL_TRIANGLES,GL_TRIANGLE_STRIP,GL_TRIANGLE_FAN,GL_TRIANGLES_ADJACENCY,GL_TRIANGLE_STRIP_ADJACENCY
If a geometry shader is present, the output primitive type from the geometry shader must match those provided in this tableβs info. That one goes like:
- Transform feedback
primitiveMode:GL_POINTSβ allowed geometry shader output primitive type:points - Transform feedback
primitiveMode:GL_LINESβ allowed geometry shader output primitive type:line_strip - Transform feedback
primitiveMode:GL_TRIANGLESβ allowed geometry shader output primitive type:triangle_strip
π¦ NOTES π¦
Geometry shaders, and the GL_TRIANGLES_ADJACENCY, GL_TRIANGLE_STRIP_ADJACENCY, GL_LINES_ADJACENCY and GL_LINE_STRIP_ADJACENCY primitive modes are available only if the GL version is 3.2 or greater. So if youβre on an older vibe, those ones are a no-go. π
π ERRORS π
GL_INVALID_OPERATIONis generated ifglBeginTransformFeedbackis executed while transform feedback is active.GL_INVALID_OPERATIONis generated ifglEndTransformFeedbackis executed while transform feedback is not active.GL_INVALID_OPERATIONis generated byglDrawArrays()if no geometry shader is present, transform feedback is active andmodeis not one of the allowed modes.GL_INVALID_OPERATIONis generated byglDrawArrays()if a geometry shader is present, transform feedback is active and the output primitive type of the geometry shader does not match the transform feedbackprimitiveMode.GL_INVALID_OPERATIONis generated byglBeginTransformFeedbackif any binding point used in transform feedback mode does not have a buffer object bound.GL_INVALID_OPERATIONis generated byglBeginTransformFeedbackif no binding points would be used, either because no program object is active or because the active program object has specified no varying variables to record.
π₯ VERSION SUPPORT π₯
okay so hereβs the version tea. The table columns are OpenGL Version: 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5. The rows are Function / Feature Name:
glBeginTransformFeedbackβ2.0:-,2.1:-,3.0:β,3.1:β,3.2:β,3.3:β,4.0:β,4.1:β,4.2:β,4.3:β,4.4:β,4.5:βglEndTransformFeedbackβ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 π
okay so the SEE ALSO section on this page is literally empty β no cross-references listed, bestie. Itβs giving minimalist π.
π 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, bestie) π
Copyright Β© 2010-2014 Khronos Group
okay bye bestie π this pageβs source/version situation is [FIXME: source], dated 08/09/2021, and the manual is GLBEGINTRANSFORMFEED(3G). Slay.
π¦ 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