GLGETBUFFERSUBDATA(3gl)GLGETBUFFERSUBDATA(3gl)NAME
glGetBufferSubData - queries the data contents of a buffer object
C SPECIFICATION
void glGetBufferSubData( GLenum target,
GLintptr offset,
GLsizeiptr size,
GLvoid *data )
PARAMETERS
target Specifies the symbolic name of the target buffer. Either
GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER is accepted.
offset and size indicate the range of data in the buffer
object that is to be queried.
data specifies a region of client memory into which the data is
to be retrieved.
DESCRIPTION
glGetBufferSubData retrieves the data contents of a buffer object in
the range of offset and size into the client memory pointed by data.
NOTES
glGetBufferSubData is available if the GL version is 1.5 or greater.
ERRORS
GL_INVALID_ENUM is generated if target is not an accepted value.
GL_INVALID_OPERATION is generated if the buffer object is not in mapped
state.
GL_INVALID_OPERATION is generated if glGetBufferSubData is executed
between the execution of glBegin and the corresponding execution of
glEnd.
SEE ALSO
glBufferData, glBufferSubData, glMapBuffer, glUnmapBuffer
14 Jan 04 GLGETBUFFERSUBDATA(3gl)