glGetVertexAttribiv

glGetVertexAttrib: man4/glGetVertexAttrib.xml

glGetVertexAttrib returns in params the value of a generic vertex attribute parameter. The generic vertex attribute to be queried is specified by index, and the parameter to be queried is specified by pname. The accepted parameter names are as follows: All of the parameters except GL_CURRENT_VERTEX_ATTRIB represent state stored in the currently bound vertex array object.

If an error is generated, no change is made to the contents of params.

@OpenGL_Version(OGLIntroducedIn.V2P0)
fn_glGetVertexAttribiv glGetVertexAttribiv;

See Also

glBindAttribLocation, glBindBuffer, glDisableVertexAttribArray, glEnableVertexAttribArray, glVertexAttrib, glVertexAttribDivisor, glVertexAttribPointer

Meta