Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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                                         │
       ├─────────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
       │ Function        │ 2.0 │ 2.1 │ 3.0 │ 3.1 │ 3.2 │ 3.3 │ 4.0 │ 4.1 │ 4.2 │ 4.3 │ 4.4 │ 4.5 │
       │ /               │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Feature         │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Name            │     │     │     │     │     │     │     │     │     │     │     │     │
       ├─────────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
       │ glIsVertexArray │  -  │  -  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │
       └─────────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘

See Also