GLISBUFFER(3G)

πŸ¦‹ GLISBUFFER(3G) β€” glIsBuffer πŸ¦‹

okay bestie, welcome to the GLISBUFFER(3G) manual page πŸ’–. This one is about glIsBuffer, and it’s literally the vibe check for buffer-object names. No cap.


🌸 NAME 🌸

glIsBuffer β€” determine if a name corresponds to a buffer object. That’s the whole assignment: is this name a buffer object or not? iykyk ✨.


πŸ’» C SPECIFICATION πŸ’»

GLboolean glIsBuffer(GLuint buffer);

πŸŽ€ PARAMETERS πŸŽ€

  • buffer β€” specifies a value that may be the name of a buffer object. That’s the parameter, bestie πŸŽ€.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the tea β˜•: glIsBuffer returns GL_TRUE if buffer is currently the name of a buffer object. Periodt. If buffer is zero, or is a non-zero value that is not currently the name of a buffer object, or if an error occurs, glIsBuffer returns GL_FALSE. That’s the whole yes/no moment πŸ’….

Also, super important: a name returned by glGenBuffers(), but not yet associated with a buffer object by calling glBindBuffer(), is not the name of a buffer object. The way that generated-but-not-bound name is giving β€œalmost famous” energy πŸ’€.


✨ VERSION SUPPORT ✨

The version-support table’s columns are OpenGL Version, and the row is under Function / Feature Name. The versions listed are 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5.

  • glIsBuffer β€” βœ” in 2.0, βœ” in 2.1, βœ” in 3.0, βœ” in 3.1, βœ” in 3.2, βœ” in 3.3, βœ” in 4.0, βœ” in 4.1, βœ” in 4.2, βœ” in 4.3, βœ” in 4.4, βœ” in 4.5 β€” yes, every single cell, she ate πŸ”₯.

πŸ‘€ SEE ALSO πŸ‘€

  • glBindBuffer()
  • glDeleteBuffers()
  • glGenBuffers()
  • glGet()

Copyright Β© 2005 Addison-Wesley. 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/.

legal besties, I don’t make the rules πŸ’Όβœ¨


Copyright Β© 2005 Sams Publishing Copyright Β© 2010-2014 Khronos Group


mwah πŸ’‹ β€” this page is from [FIXME: source] and dated 08/09/2021. bye bestie 🫢

πŸ“¦ where this page comes from