GLCREATETRANSFORMFEE(3G)

πŸ’… GLCREATETRANSFORMFEE(3G) β€” like, the actual man page, bestie

okay so real quick β€” this is page GLCREATETRANSFORMFEE(3G) from the [FIXME: manual] set, and it's literally just about making transform feedback objects out of thin air. no cap. let's go ✨


🌸 NAME 🌸

glCreateTransformFeedbacks β€” create transform feedback objects πŸŽ€


🧚 C SPECIFICATION 🧚

void glCreateTransformFeedbacks(GLsizei n, GLuint *ids);

that's it. that's the whole signature. she's minimal, she's iconic πŸ’…


πŸ“ PARAMETERS πŸ“

  • n β€” the number of transform feedback objects you wanna create. how many besties are we bringing into existence today πŸ‘‘
  • ids β€” specifies an array where the names of the new transform feedback objects get stored. it's giving "here's where I'll drop the receipts" πŸ“₯

✨ DESCRIPTION ✨

so glCreateTransformFeedbacks returns n previously unused transform feedback object names in ids β€” each one representing a brand new transform feedback object, initialized to the default state. fresh out the box, untouched, main character energy ⭐

no reuse, no leftovers, no "oh this one was already taken" β€” previously unused, periodt πŸ’œ


πŸ’€ ERRORS πŸ’€

  • GL_INVALID_VALUE is generated if n is negative.
yeah so do not pass a negative n. the GL is not gonna be cute about it, she's gonna throw GL_INVALID_VALUE at you and you will deserve it πŸ™ˆ

🌈 VERSION SUPPORT 🌈

okay so here's the vibe check across the OpenGL versions. the function is glCreateTransformFeedbacks and the row goes like this:

  • OpenGL 2.0 β€” - (nope)
  • OpenGL 2.1 β€” - (nope)
  • OpenGL 3.0 β€” - (nope)
  • OpenGL 3.1 β€” - (nope)
  • OpenGL 3.2 β€” - (nope)
  • OpenGL 3.3 β€” - (nope)
  • OpenGL 4.0 β€” - (nope)
  • OpenGL 4.1 β€” - (nope)
  • OpenGL 4.2 β€” - (nope)
  • OpenGL 4.3 β€” - (nope)
  • OpenGL 4.4 β€” - (nope)
  • OpenGL 4.5 β€” βœ” (YESSS she's here πŸ”₯πŸ‘‘)

so basically: 4.5 or nothing, bestie. she did not exist before that and she's not sorry about it πŸ’…


🫢 SEE ALSO 🫢

the whole friend group, fr fr:

  • glBeginTransformFeedback()
  • glBindTransformFeedback()
  • glDeleteTransformFeedbacks()
  • glEndTransformFeedback
  • glGenTransformFeedbacks()
  • glIsTransformFeedback()
  • glPauseTransformFeedback()
  • glResumeTransformFeedback()

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


and that's the whole page, bestie πŸ’–

kisses from [FIXME: source], dated 08/09/2021 β€” catch you on the next man page, mwah πŸ§šπŸ’œ

πŸ“¦ where this page comes from