GLBINDRENDERBUFFER(3G)

πŸ’– NAME πŸ’–

Okay so welcome to the 3G manual page for glBindRenderbuffer β€” header placeholder [FIXME: manual], mysterious queen behavior, we love it. This function is literally here to bind a renderbuffer to a renderbuffer target. Periodt.

πŸ“ C SPECIFICATION πŸ“

void glBindRenderbuffer(GLenum target, GLuint renderbuffer);

πŸŽ€ PARAMETERS πŸŽ€

  • target β€” specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER. No substitutions, bestie, that's the rule.
  • renderbuffer β€” specifies the name of the renderbuffer object to bind.

✨ DESCRIPTION ✨

So glBindRenderbuffer binds the renderbuffer object with name renderbuffer to the renderbuffer target specified by target. And target must be GL_RENDERBUFFER β€” like, that is not a suggestion, that is the vibe check.

renderbuffer is the name of a renderbuffer object previously returned from a call to glGenRenderbuffers(), or zero to break the existing binding of a renderbuffer object to target. Zero is the β€œunbind era” πŸ’….

πŸ’€ ERRORS πŸ’€

  • GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER.
  • GL_INVALID_OPERATION is generated if renderbuffer is not zero or the name of a renderbuffer previously returned from a call to glGenRenderbuffers().

βœ… VERSION SUPPORT βœ…

The table’s columns are OpenGL Version and Function / Feature Name, and the function name is glBindRenderbuffer. Here’s the whole grid translated so nothing gets lost, bestie:

  • 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: βœ”

πŸ¦‹ SEE ALSO πŸ¦‹

  • glDeleteRenderbuffers()
  • glGenRenderbuffers()
  • glIsRenderbuffer()
  • glRenderbufferStorage()
  • glRenderbufferStorageMultisample()

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


Cute sign-off time πŸŽ€: the footer says source/version [FIXME: source], date 08/09/2021, and it repeats GLBINDRENDERBUFFER(3G) β€” that’s the whole source/version/date tea. Bye bestie πŸ’…βœ¨

πŸ“¦ where this page comes from