glGetVertexArrayiv

glGetVertexArrayiv: man4/glGetVertexArrayiv.xml

This function provides a mean of querying properties of an existing vertex array object. The vertex array object does not have to be bound to the rendering context at the time of the call, but must have been bound at least once prior to this call. glGetVertexArrayiv can be used to retrieve ID of a buffer object that will be bound to the GL_ELEMENT_ARRAY_BUFFER binding point whenever the queried vertex array object is bound to the rendering context. The binding can be changed for an active vertex array object with a glBindBuffer call.

@OpenGL_Version(OGLIntroducedIn.V4P5)
@OpenGL_Extension("GL_ARB_direct_state_access")
fn_glGetVertexArrayiv glGetVertexArrayiv;

See Also

glBindBuffer, glBindVertexArray, glGet

Meta