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

glIsVertexArray - determine if a name corresponds to a vertex array object

C Specification

GLbooleanglIsVertexArray(GLuintarray);

Description

glIsVertexArray returns GL_TRUE if array is currently the name of a vertex array object. If array is
       zero, or if array is not the name of a vertex array object, or if an error occurs, glIsVertexArray
       returns GL_FALSE. If array is a name returned by glGenVertexArrays(), by that has not yet been bound
       through a call to glBindVertexArray(), then the name is not a vertex array object and glIsVertexArray
       returns GL_FALSE.

Name

       glIsVertexArray - determine if a name corresponds to a vertex array object

Parameters

array
           Specifies a value that may be the name of a vertex array object.

See Also

glGenVertexArrays(), glBindVertexArray(), glDeleteVertexArrays()

Version Support

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

See Also