The glGetPointerv function returns the address of a vertex data array.
void glGetPointerv(
GLenum pname,
GLvoid * * params
);
The glGetPointerv function returns array pointer information. The pname parameter is a symbolic constant specifying the kind of array pointer to return, and params is a pointer to a location to place the returned data.
The following are the error codes generated and their conditions.
Error Code | Condition |
---|---|
GL_INVALID_ENUM | pname was not an accepted value. |
glArrayElement, glColorPointer, glDrawArrays, glEdgeFlagPointer, glGetString, glIndexPointer, glNormalPointer, glTexCoordPointer, glVertexPointer