glBindVertexArray

glBindVertexArray: man4/glBindVertexArray.xml

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 break the existing 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.

@OpenGL_Version(OGLIntroducedIn.V3P0)
@OpenGL_Extension("GL_ARB_vertex_array_object")
fn_glBindVertexArray glBindVertexArray;

See Also

glDeleteVertexArrays, glEnableVertexAttribArray, glGenVertexArrays, glIsVertexArray, glVertexAttribPointer

Meta