# psychopy.tools.gltools.unmapBuffer¶

psychopy.tools.gltools.unmapBuffer(vbo)[source]

Unmap a previously mapped buffer. Must be called after mapBuffer() is called and before any drawing operations which use the buffer are called. Failing to call this before using the buffer could result in a system error.

Parameters

vbo (VertexBufferInfo) – Vertex buffer descriptor.

Returns

True if the buffer has been successfully modified. If False, the data was corrupted for some reason and needs to be resubmitted.

Return type

bool