Light | Dark

# docs.GL

OpenGL 4
OpenGL 3
OpenGL ES 3

# glIsVertexArray

## Name

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

## C Specification

`GLboolean glIsVertexArray(` | GLuint array`)`;

## Parameters

`array`

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

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

## Version Support

| OpenGL Version
--- | ---
Function / Feature Name | 2.0 | 2.1 | 3.0 | 3.1 | 3.2 | 3.3 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5
`glIsVertexArray` | - | - | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔

## See Also

glGenVertexArrays, glBindVertexArray, glDeleteVertexArrays

## Copyright

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. https://opencontent.org/openpub/.

Think you can improve this page? Edit this page on GitHub.