logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

glDeleteVertexArrays - delete vertex array objects

C Specification

voidglDeleteVertexArrays(GLsizein,constGLuint*arrays);

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. 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.

Errors

GL_INVALID_VALUE is generated if n is negative.

Name

       glDeleteVertexArrays - delete vertex array objects

Parameters

n
           Specifies the number of vertex array objects to be deleted.

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

See Also

glGenVertexArrays(), glIsVertexArray(), glBindVertexArray()

Version Support

       ┌──────────────────────┬───────────────────────────────────────────────────────────────────────┐
       │                      │                OpenGLVersion                                         │
       ├──────────────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
       │ Function2.02.13.03.13.23.34.04.14.24.34.44.5 │
       │ /                    │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Feature              │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Name                 │     │     │     │     │     │     │     │     │     │     │     │     │
       ├──────────────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
       │ glDeleteVertexArrays │  -  │  -  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │
       └──────────────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘

See Also