GLTRANSFORMFEEDBACKB(3G)

🌸 NAME 🌸

okay so this is the GLTRANSFORMFEEDBACKB(3G) manual page β€” the header had the [FIXME: manual] placeholder, and I’m folding the manual name in right here instead of copying the whole line, bestie πŸ’–.

glTransformFeedbackBufferRange β€” bind a range within a buffer object to a transform feedback buffer object. That’s the name-section tea, periodt. ✨

🧾 C SPECIFICATION 🧾

       void glTransformFeedbackBufferRange(GLuint xfb, GLuint index,
                                           GLuint buffer, GLintptr offset,
                                           GLsizei size);

πŸŽ€ PARAMETERS πŸŽ€

  • xfb β€” the name of the transform feedback buffer object. iconic.
  • index β€” the index of the binding point within xfb. iykyk.
  • buffer β€” the name of the buffer object to bind to the specified binding point. slay.
  • offset β€” the starting offset in basic machine units into the buffer object. fr fr.
  • size β€” the amount of data in basic machine units that can be read from or written to the buffer object while used as an indexed target. πŸ’…

πŸ’– DESCRIPTION πŸ’–

okay so glTransformFeedbackBufferRange binds a range of the buffer object buffer β€” represented by offset and size β€” to the binding point at index inside the transform feedback object xfb. main character energy, no cap.

offset specifies the offset in basic machine units into the buffer object buffer, and size specifies the amount of data that can be read from the buffer object while used as an indexed target. that’s the whole vibe πŸ¦‹.

πŸ—’οΈ NOTES πŸ—’οΈ

No notes in the original, bestie β€” it’s giving empty section. literally nothing here. πŸ’€

πŸ’€ ERRORS πŸ’€

  • GL_INVALID_OPERATION is generated if xfb is not the name of an existing transform feedback object. not me finding out the hard way 😭.
  • GL_INVALID_VALUE is generated if in buffer is not zero or the name of an existing buffer object.
  • GL_INVALID_VALUE is generated if index is greater than or equal to the number of transform feedback buffer binding points (the value of GL_TRANSFORM_FEEDBACK_BUFFER_BINDING). highkey important.
  • GL_INVALID_VALUE is generated if offset is negative.
  • GL_INVALID_VALUE is generated if buffer is non-zero and either size is less than or equal to zero, or offset + size is greater than the value of GL_BUFFER_SIZE for buffer. read that twice, bestie πŸ”₯.

πŸ“Š VERSION SUPPORT πŸ“Š

the version-support grid labels are Function / Feature Name and OpenGL Version, and the row is glTransformFeedbackBufferRange. here’s the support tea, all listed versions included:

  • 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 πŸ‘€

  • glBindBufferRange()
  • glBindBufferBase()
  • glTransformFeedbackBufferBase()

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 🫢 β€” footer vibes: source [FIXME: source], date/version 08/09/2021, and the manual tag GLTRANSFORMFEEDBACKB(3G). bye! πŸ’–

πŸ“¦ where this page comes from