glFlushMappedBufferRange — indicate modifications to a range of a mapped buffer
Specifies the target of the flush operation.
target must be
Specifies the start of the buffer subrange, in basic machine units.
Specifies the length of the buffer subrange, in basic machine units.
glFlushMappedBufferRange indicates that modifications have been made to a range of a mapped buffer. The buffer must previously have been mapped with the
length indicate the modified subrange of the mapping, in basic units. The specified subrange to flush is relative to the start of the currently mapped range of the buffer.
glFlushMappedBufferRange may be called multiple times to indicate distinct subranges of the mapping which require flushing.
GL_INVALID_VALUE is generated if
length is negative, or if
length exceeds the size of the mapping.
GL_INVALID_OPERATION is generated if zero is bound to
GL_INVALID_OPERATION is generated if the buffer bound to
target is not mapped, or is mapped without the
Copyright © 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.