glGetVertexAttrib

Return a generic vertex attribute parameter

Signature

glGetVertexAttribIiv( GLuint ( index ) , GLenum ( pname ) , GLint *( params ) )-> void
glGetVertexAttribIiv( index , pname , params )
glGetVertexAttribIuiv( GLuint ( index ) , GLenum ( pname ) , GLuint *( params ) )-> void
glGetVertexAttribIuiv( index , pname , params )
glGetVertexAttribLdv( GLuint ( index ) , GLenum ( pname ) , GLdouble *( params ) )-> void
glGetVertexAttribLdv( index , pname , params )
glGetVertexAttribdv( GLuint ( index ) , GLenum ( pname ) , GLdouble *( params ) )-> void
glGetVertexAttribdv( index , pname , params )
glGetVertexAttribfv( GLuint ( index ) , GLenum ( pname ) , GLfloat *( params ) )-> void
glGetVertexAttribfv( index , pname , params )
glGetVertexAttribiv( GLuint ( index ) , GLenum ( pname ) , GLint *( params ) )-> void
glGetVertexAttribiv( index , pname , params )

Parameters

VariablesDescription
index
Specifies the generic vertex attribute parameter to be queried.
pname
Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING , GL_VERTEX_ATTRIB_ARRAY_ENABLED , GL_VERTEX_ATTRIB_ARRAY_SIZE , GL_VERTEX_ATTRIB_ARRAY_STRIDE , GL_VERTEX_ATTRIB_ARRAY_TYPE , GL_VERTEX_ATTRIB_ARRAY_NORMALIZED , GL_VERTEX_ATTRIB_ARRAY_INTEGER , GL_VERTEX_ATTRIB_ARRAY_DIVISOR , or GL_CURRENT_VERTEX_ATTRIB .
params
Returns the requested data.