GLISFRAMEBUFFER(3G)

okay so bestie, welcome to GLISFRAMEBUFFER(3G) β€” manual section 3G β€” and yes the header literally has [FIXME: manual] in it, we love a transparent icon πŸ’…. This is the page for checking whether a name is giving framebuffer object, and we're gonna keep every single detail, no cap.

🌸 NAME 🌸

glIsFramebuffer β€” determine if a name corresponds to a framebuffer object.

πŸ’– C SPECIFICATION πŸ’–

GLboolean glIsFramebuffer(GLuint framebuffer);

πŸŽ€ PARAMETERS πŸŽ€

  • framebuffer β€” specifies a value that may be the name of a framebuffer object.

✨ DESCRIPTION ✨

So glIsFramebuffer returns GL_TRUE if framebuffer is currently the name of a framebuffer object. Simple, iconic, to the point.

If framebuffer is zero, or if framebuffer is not the name of a framebuffer object, or if an error occurs, glIsFramebuffer returns GL_FALSE.

And here's the little plot twist: if framebuffer is a name returned by glGenFramebuffers(), but it has not yet been bound through a call to glBindFramebuffer(), then that name is not a framebuffer object, and glIsFramebuffer returns GL_FALSE. Like, the name exists but the object vibe is not activated yet, iykyk.

πŸ¦‹ VERSION SUPPORT πŸ¦‹

The table's header is Function / Feature Name on one side and OpenGL Version on the other, and the function row is glIsFramebuffer. Here's the support lookup, exactly as listed:

  • 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 πŸ”₯

  • glGenFramebuffers()
  • glBindFramebuffer()
  • glDeleteFramebuffers()

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


okay bestie, that's the whole page 🫢 β€” the footer's source/version slot says [FIXME: source], the date is 08/09/2021, and the footer title is GLISFRAMEBUFFER(3G). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from