GLISVERTEXARRAY(3G)

✨ NAME ✨

hii bestie, welcome to GLISVERTEXARRAY(3G) πŸ’– β€” the manual page for glIsVertexArray, aka the little function that tells you if a name corresponds to a vertex array object. periodt. πŸ’…


πŸ’– C SPECIFICATION πŸ’–

GLboolean glIsVertexArray(GLuint array);

πŸŽ€ PARAMETERS πŸŽ€

  • array β€” specifies a value that may be the name of a vertex array object. yep, that's the whole vibe check. πŸ¦‹

🌸 DESCRIPTION 🌸

okay so glIsVertexArray returns GL_TRUE if array is currently the name of a vertex array object. slay. ✨

but bestie, listen: if array is zero, or if array is not the name of a vertex array object, or if an error occurs, then glIsVertexArray returns GL_FALSE. no cap. 😭

and there's one more little plot twist πŸ‘€ β€” if array is a name returned by glGenVertexArrays(), but that name has not yet been bound through a call to glBindVertexArray(), then the name is not a vertex array object, and glIsVertexArray returns GL_FALSE. it's giving "generated but not bound yet" energy. πŸ’€


🌈 VERSION SUPPORT 🌈

here's the OpenGL Version tea β˜• β€” Function / Feature Name: glIsVertexArray:

  • OpenGL Version 2.0: -
  • OpenGL Version 2.1: -
  • OpenGL Version 3.0: βœ”
  • OpenGL Version 3.1: βœ”
  • OpenGL Version 3.2: βœ”
  • OpenGL Version 3.3: βœ”
  • OpenGL Version 4.0: βœ”
  • OpenGL Version 4.1: βœ”
  • OpenGL Version 4.2: βœ”
  • OpenGL Version 4.3: βœ”
  • OpenGL Version 4.4: βœ”
  • OpenGL Version 4.5: βœ”

so from 3.0 onward it's checks on checks, bestie. πŸ‘‘πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

  • glGenVertexArrays()
  • glBindVertexArray()
  • glDeleteVertexArrays()

go read those too, 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


okay that's the whole page, bestie 🫢 β€” source/version tag says [FIXME: source], date says 08/09/2021, and the manual name is GLISVERTEXARRAY(3G). byeee πŸ’…βœ¨

πŸ“¦ where this page comes from