GLDELETEVERTEXARRAYS(3G)

okay so bestie, welcome to GLDELETEVERTEXARRAYS(3G) β€” manual name 3G, and yes the header has [FIXME: manual] in it, lowkey iconic. This is the page about deleting vertex array objects, and it is giving very specific OpenGL energy.

🌸 NAME 🌸

glDeleteVertexArrays β€” delete vertex array objects.

✨ C SPECIFICATION ✨

void glDeleteVertexArrays(GLsizei n, const GLuint *arrays);

πŸŽ€ PARAMETERS πŸŽ€

  • n β€” tells you the number of vertex array objects to be deleted. that's the count, bestie.
  • arrays β€” the address of an array containing the n names of the objects to be deleted. so it's a pointer situation, very demure.

πŸ’– DESCRIPTION πŸ’–

glDeleteVertexArrays deletes n vertex array objects whose names are stored in the array addressed by arrays. once a vertex array object is deleted, it has no contents and its name is again unused. gone, wiped, no notes.

if a vertex array object that is currently bound is deleted, the binding for that object reverts to zero and the default vertex array becomes current. so the default vertex array steps in like main character energy.

unused names in arrays are silently ignored, as is the value zero. no error, no drama, just vibes.

🚨 ERRORS 🚨

  • GL_INVALID_VALUE is generated if n is negative.
bestie, negative n is a no. that's the error, periodt.

πŸ‘‘ VERSION SUPPORT πŸ‘‘

here's the vibe check for OpenGL Version support, with Function / Feature Name glDeleteVertexArrays:

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

  • glGenVertexArrays(), glIsVertexArray(), glBindVertexArray()

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


that's the tea from [FIXME: source], dated 08/09/2021, bestie β€” page GLDELETEVERTEXARRAYS(3G) out πŸ’–

πŸ“¦ where this page comes from