GLPAUSETRANSFORMFEED(3G)

πŸ’… GLPAUSETRANSFORMFEED(3G) β€” or, how to put your transform feedback on pause

okay so bestie, welcome to GLPAUSETRANSFORMFEED(3G), the 3G manual page, and honestly? the name is a whole mouthful but the vibe is simple: we're hitting pause on transform feedback. that's it. that's the post. ✨


🌸 NAME

glPauseTransformFeedback β€” pause transform feedback operations πŸŽ€


✨ C SPECIFICATION

void glPauseTransformFeedback(void);

no args, no return value, no drama. she takes nothing and gives you a pause. πŸ’…


πŸ¦‹ DESCRIPTION

so glPauseTransformFeedback pauses transform feedback operations on the currently active transform feedback object. key word: currently active. like, the one that's already the main character rn. πŸ‘‘

when transform feedback operations are paused, here's the tea: transform feedback is still considered active, okay? it's not gone, it's just resting. 😴 and because it's still active, changing most transform feedback state related to the object? yeah that results in an error. not me changing state while paused and getting yelled at πŸ™ˆ β€” don't do it.

but here's the slay bit: a new transform feedback object may be bound while transform feedback is paused. so you can bring a whole new object on stage while the old one's on break. iconic behaviour honestly. 🌈


πŸ’€ ERRORS

  • GL_INVALID_OPERATION is generated if the currently bound transform feedback object is not active or is paused.

so yeah β€” if it's not active, or if it's already paused (like, girl you're already on break 😭), you get GL_INVALID_OPERATION. no cap.


πŸ‘‘ VERSION SUPPORT

here's the vibe check on which OpenGL versions support glPauseTransformFeedback β€” the columns in the original ran from OpenGL 2.0 all the way to 4.5, and our girl's row goes like this:

  • 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 it's giving strictly 4.0 and up, bestie. before that? not invited to the party. πŸŽ€


🫢 SEE ALSO

the whole friend group, fr fr:

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

iykyk 🧚


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 Β© 2010-2014 Khronos Group


and that's the page, bestie!! πŸ“ this whole thing came from [FIXME: source], dated 08/09/2021, and yes it still says GLPAUSETRANSFORMFEED(3G) at the bottom too β€” consistency queen. mwah πŸ’œβœ¨

πŸ“¦ where this page comes from