glDeleteVertexArrays.3G - Man Page

delete vertex array objects

C Specification

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



Specifies the number of vertex array objects to be deleted.


Specifies the address of an array containing the n names of the objects to be deleted.


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. 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. Unused names in arrays are silently ignored, as is the value zero.


GL_INVALID_VALUE is generated if n is negative.

Version Support

OpenGL Version
Function / Feature Name2.

See Also

glGenVertexArrays(), glIsVertexArray(), glBindVertexArray()

Referenced By

glBindVertexArray.3G(3), glCreateVertexArrays.3G(3), glGenVertexArrays.3G(3), glIsVertexArray.3G(3).