SoGLBufferObjectMap Method (SoBufferObjectAccessModes, UInt64, UInt64) |
This function extends the map(AccessMode) method by allowing the mapping of a sub part of the buffer object into CPU memory.
Namespace: OIV.Inventor.Devices
public SbNativeArray<byte> Map( SoBufferObjectAccessModes accessMode, ulong offset, ulong count )
Reference to data in the mapped region of the OpenGL buffer.
On some systems this method has better performance.
Notes:
It is not necessary to bind an OpenGL context before calling this method.
The unmap() method must be called before using the buffer for any OpenGL operation, otherwise the operation will produce an error.