glGetVertexAttribfv

glGetVertexAttrib: man2/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 client-side state.

glGetVertexAttrib is available only if the GL version is 2.0 or greater. If an error is generated, no change is made to the contents of params.

@OpenGL_Version(OGLIntroducedIn.V2P0)
fn_glGetVertexAttribfv glGetVertexAttribfv;

See Also

glBindAttribLocation, glBindBuffer, glDisableVertexAttribArray, glEnableVertexAttribArray, glVertexAttrib, glVertexAttribPointer

Meta