Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glinvalidatebuffersubdata(3g) [centos man page]

GLINVALIDATEBUFFERSU(3G)					   OpenGL Manual					  GLINVALIDATEBUFFERSU(3G)

NAME
glInvalidateBufferSubData - invalidate a region of a buffer object's data store C SPECIFICATION
void glInvalidateBufferSubData(GLuint buffer, GLintptr offset, GLsizeiptr length); PARAMETERS
buffer The name of a buffer object, a subrange of whose data store to invalidate. offset The offset within the buffer's data store of the start of the range to be invalidated. length The length of the range within the buffer's data store to be invalidated. DESCRIPTION
glInvalidateBufferSubData invalidates all or part of the content of the data store of a buffer object. After invalidation, the content of the specified range of the buffer's data store becomes undefined. The start of the range is given by offset and its size is given by length, both measured in basic machine units. ERRORS
GL_INVALID_VALUE is generated if offset or length is negative, or if offset + length is greater than the value of GL_BUFFER_SIZE for buffer. GL_INVALID_VALUE is generated if buffer is not the name of an existing buffer object. GL_INVALID_OPERATION is generated if any part of buffer is currently mapped. ASSOCIATED GETS
glGetBufferParameter() with argument GL_BUFFER_SIZE SEE ALSO
glInvalidateTexSubImage(),, glInvalidateTexImage(), glInvalidateBufferData(), glInvalidateFramebuffer(), glInvalidateSubFramebuffer(). COPYRIGHT
Copyright (C) 2012 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 06/10/2014 GLINVALIDATEBUFFERSU(3G)

Check Out this Related Man Page

GLFLUSHMAPPEDBUFFERR(3G)					    OpenGL 3.3						  GLFLUSHMAPPEDBUFFERR(3G)

NAME
glFlushMappedBufferRange - indicate modifications to a range of a mapped buffer C SPECIFICATION
GLsync 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 (C) 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/. OpenGL 3.3 03/08/2011 GLFLUSHMAPPEDBUFFERR(3G)
Man Page