glUnmapBuffer
glUnmapBuffer is an OpenGL function used to unmap a buffer object that was previously mapped with glMapBuffer or glMapBufferRange. The only parameter is the target, which identifies the buffer binding point (for example GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER). The exact set of valid targets depends on the OpenGL version and extensions in use.
The function returns a GLboolean. If the unmapping succeeds, glUnmapBuffer returns GL_TRUE and the data store
Error handling and states: GL_INVALID_OPERATION is generated if there is no buffer bound to the specified target,
Usage notes: glUnmapBuffer is typically called after the application has finished reading or writing to a mapped