Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The glGetPointerv function returns the address of a vertex data array.
void glGetPointerv(
GLenum pname, GLvoid **params);
- pname
The type of array pointer to return from the following symbolic constants: GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, and GL_VERTEX_ARRAY_POINTER. - params
Returns the value of the array pointer specified by pname.
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 is the error code generated and its condition.
Error code | Condition |
---|---|
GL_INVALID_ENUM | pname was not an accepted value. |
** Windows NT/2000:** Requires Windows NT 4.0 or later.
** Windows 95/98:** Requires Windows 95 or later. Available as a redistributable for Windows 95.
** Header:** Declared in Gl.h.
** Library:** Use Opengl32.lib.
glArrayElement, glColorPointer, glDrawArrays, glEdgeFlagPointer, glGetString, glIndexPointer, glNormalPointer, glTexCoordPointer, glVertexPointer