glBindVertexArray
glBindVertexArray is an OpenGL function that binds a Vertex Array Object (VAO) to the current OpenGL context. A VAO stores the state needed to supply vertex data to the vertex shader, including the configuration of vertex attributes and the bindings of vertex buffer objects.
The function signature is void glBindVertexArray(GLuint array). If array is zero, the currently bound VAO is
In a typical workflow you generate one or more VAOs with glGenVertexArrays, bind one with glBindVertexArray,
VAOs are central to modern OpenGL (core profile) as they encapsulate all per-VAO vertex state. They do
Compatibility and availability: glBindVertexArray is part of the ARB_vertex_array_object extension and is required for core OpenGL