glBindVertexArray â bind a vertex array object
C Specificationvoid glBindVertexArray(
GLuint array)
;
Â
Parametersarray
Specifies the name of the vertex array to bind.
glBindVertexArray
binds the vertex array object with name array
. array
is the name of a vertex array object previously returned from a call to glGenVertexArrays, or zero to bind the default vertex array object binding.
If no vertex array object with name array
exists, one is created when array
is first bound. If the bind is successful no change is made to the state of the vertex array object, and any previous vertex array object binding is broken.
GL_INVALID_OPERATION
is generated if array
is not zero or the name of a vertex array object previously returned from a call to glGenVertexArrays.
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/.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3