glFlushMappedBufferRange man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

GLFLUSHMAPPEDBUFFERR(3G)	 OpenGL Manual	      GLFLUSHMAPPEDBUFFERR(3G)

NAME
       glFlushMappedBufferRange - indicate modifications to a range of a
       mapped buffer

C SPECIFICATION
       void glFlushMappedBufferRange(GLenum target, GLintptr offset,
				     GLsizeiptr length);

PARAMETERS
       target
	   Specifies the target of the flush operation.	 target must be
	   GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER,
	   GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER,
	   GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER,
	   GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.

       offset
	   Specifies the start of the buffer subrange, in basic machine units.

       length
	   Specifies the length of the buffer subrange, in basic machine
	   units.

DESCRIPTION
       glFlushMappedBufferRange indicates that modifications have been made to
       a range of a mapped buffer. The buffer must previously have been mapped
       with the GL_MAP_FLUSH_EXPLICIT flag.  offset and 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.

ERRORS
       GL_INVALID_VALUE is generated if offset or length is negative, or if
       offset + length exceeds the size of the mapping.

       GL_INVALID_OPERATION is generated if zero is bound to target.

       GL_INVALID_OPERATION is generated if the buffer bound to target is not
       mapped, or is mapped without the GL_MAP_FLUSH_EXPLICIT flag.

SEE ALSO
       glMapBufferRange(), glMapBuffer(), glUnmapBuffer()

COPYRIGHT
       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/.

AUTHORS
       opengl.org

opengl.org			  04/29/2014	      GLFLUSHMAPPEDBUFFERR(3G)
[top]

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net