glGetPointervEXT(3G) OpenGL Reference glGetPointervEXT(3G)
glGetPointervEXT - return the address of a buffer or vertex array
void glGetPointervEXT( GLenum pname,
GLvoid* *params )
pname Specifies the pointer to be returned. Symbolic constants
GL_VERTEX_ARRAY_POINTER_EXT, GL_NORMAL_ARRAY_POINTER_EXT,
GL_COLOR_ARRAY_POINTER_EXT, GL_INDEX_ARRAY_POINTER_EXT,
GL_TEXTURE_COORD_ARRAY_POINTER_EXT,
GL_EDGE_FLAG_ARRAY_POINTER_EXT, and
GL_INSTRUMENT_BUFFER_POINTER_SGIX are accepted.
params returns the pointer value specified by pname.
glGetPointervEXT returns pointer information. pname is a symbolic
constant indicating the pointer to be returned, and params is a pointer
to a location in which to place the returned data.
The array pointers are client side state.
glGetPointervEXT is part of the EXT_vertex_array extension, not part of
the core GL command set. If GL_EXT_vertex_array is included in the string
returned by glGetString, when called with argument GL_EXTENSIONS,
extension EXT_vertex_array is supported.
Similarly, GL_INSTRUMENT_BUFFER_POINTER_SGIX is part of the
SGIX_ir_instrument1 extension.
GL_INVALID_ENUM is generated if pname is not an accepted value.
glArrayElementEXT, glColorPointerEXT, glDrawArraysEXT,
glEdgeFlagPointerEXT, glIndexPointerEXT, glInstrumentsBufferSGIX,
glNormalPointerEXT, glTexCoordPointerEXT, glVertexPointerEXT
PPPPaaaaggggeeee 1111 [ Back ]
|