GLGETBUFFERPOINTER(3gl)GLGETBUFFERPOINTER(3gl)NAME
glGetBufferPointerv - return the pointer to the data store
C SPECIFICATION
void glGetBufferPointerv( GLenum target,
GLenum pname,
GLvoid **param )
PARAMETERS
target Specifies the symbolic name of the target buffer. Either
GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER is accepted.
pname Specifies the symbolic name of a buffer parameter. Must be set
to GL_BUFFER_MAP_POINTER.
param Returns the pointer to the data store.
DESCRIPTION
glGetBufferPointerv returns in param the pointer to the data store of a
mapped buffer object. target defines the target buffer, either
GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER. pname must be the symbol
GL_BUFFER_MAP_POINTER.
glGetBufferPointerv returns the NULL pointer value if the buffer's data
store is not currently mapped.
NOTES
glGetBufferPointerv is available if the GL version is 1.5 or greater.
ERRORS
GL_INVALID_ENUM is generated if pname is not GL_BUFFER_MAP_POINTER.
GL_INVALID_OPERATION is generated if glGetBufferPointer is executed
between the execution of glBegin and the corresponding execution of
glEnd.
SEE ALSO
glMapBuffer, glUnmapBuffer
14 Jan 04 GLGETBUFFERPOINTER(3gl)