GLFLUSHMAPPEDBUFFERR - Online Linux Manual PageSection : 3G
Updated : 01/20/2022
Source : [FIXME: source]
Note : [FIXME: manual]

NAMEglFlushMappedBufferRange, glFlushMappedNamedBufferRange − indicate modifications to a range of a mapped buffer

C SPECIFICATIONvoid glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length); void glFlushMappedNamedBufferRange(GLuint buffer, GLintptr offset, GLsizeiptr length);

PARAMETERStarget Specifies the target to which the buffer object is bound for glFlushMappedBufferRange, which must be one of the buffer binding targets in the following table: Buffer Binding Target Purpose GL_ARRAY_BUFFER Vertex attributes GL_ATOMIC_COUNTER_BUFFER Atomic counter storage GL_COPY_READ_BUFFER Buffer copy source GL_COPY_WRITE_BUFFER Buffer copy destination GL_DISPATCH_INDIRECT_BUFFER Indirect compute dispatch commands GL_DRAW_INDIRECT_BUFFER Indirect command arguments GL_ELEMENT_ARRAY_BUFFER Vertex array indices GL_PIXEL_PACK_BUFFER Pixel read target GL_PIXEL_UNPACK_BUFFER Texture data source GL_QUERY_BUFFER Query result buffer GL_SHADER_STORAGE_BUFFER Read−write storage for shaders GL_TEXTURE_BUFFER Texture data buffer GL_TRANSFORM_FEEDBACK_BUFFER Transform feedback buffer GL_UNIFORM_BUFFER Uniform block storage buffer Specifies the name of the buffer object for glFlushMappedNamedBufferRange​. offset Specifies the start of the buffer subrange, in basic machine units​. length Specifies the length of the buffer subrange, in basic machine units​.

DESCRIPTIONglFlushMappedBufferRange indicates that modifications have been made to a range of a mapped buffer object​. The buffer object must previously have been mapped with the GL_MAP_FLUSH_EXPLICIT_BIT flag​. offset and length indicate the modified subrange of the mapping, in basic machine units​. The specified subrange to flush is relative to the start of the currently mapped range of the buffer​. These commands may be called multiple times to indicate distinct subranges of the mapping which require flushing​. If a buffer range is mapped with both GL_MAP_PERSISTENT_BIT and GL_MAP_FLUSH_EXPLICIT_BIT set, then these commands may be called to ensure that data written by the client into the flushed region becomes visible to the server​. Data written to a coherent store will always become visible to the server after an unspecified period of time​.

NOTESThe GL_DISPATCH_INDIRECT_BUFFER and GL_SHADER_STORAGE_BUFFER targets are available only if the GL version is 4​.3 or greater​. The GL_QUERY_BUFFER target is available only if the GL version is 4​.4 or greater​.

ERRORSGL_INVALID_ENUM is generated by glFlushMappedBufferRange if target is not one of the buffer binding targets listed above​. GL_INVALID_OPERATION is generated by glFlushMappedBufferRange if zero is bound to target​. GL_INVALID_OPERATION is generated by glFlushMappedNamedBufferRange if buffer is not the name of an existing buffer object​. 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 the buffer object is not mapped, or is mapped without the GL_MAP_FLUSH_EXPLICIT_BIT flag​.

VERSION SUPPORT OpenGL Version Function / Feature Name 2​.0 none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'>none;'> 2​.1 3​.0 3​.1 3​.2 3​.3 4​.0 4​.1 4​.2 4​.3 4​.4 4​.5 glFlushMappedBufferRange glFlushMappedNamedBufferRange

SEE ALSOglMapBufferRange(), glMapBuffer(), glUnmapBuffer()

COPYRIGHTCopyright © 2010−2014 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/​.

COPYRIGHT
Copyright © 2010-2014 Khronos Group
0
Johanes Gumabo
Data Size   :   24,797 byte
man-glFlushMappedBufferRange.3GBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 201,937
Visitor ID   :     :  
Visitor IP   :   18.191.118.36   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.