Click or drag to resize
SoBufferObjectMap Method (SoBufferObject, SoBufferObjectAccessModes, UInt64, UInt64)

Maps the current buffer object into the specified buffer object.

Namespace: OIV.Inventor.Devices
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public abstract void Map(
	SoBufferObject targetBufferObject,
	SoBufferObjectAccessModes accessMode,
	ulong startPosition,
	ulong mappingSize
)

Parameters

targetBufferObject
Type: OIV.Inventor.DevicesSoBufferObject

The buffer object which will be the mapped version of this buffer.

accessMode
Type: OIV.Inventor.DevicesSoBufferObjectAccessModes

The access mode used for the mapping.

startPosition
Type: SystemUInt64

Offset in source buffer to map from (default is start of buffer).

mappingSize
Type: SystemUInt64

Number of bytes from the startPosition to map (default is SO_BUFFER_SIZE_ALL meaning the whole buffer is mapped.

Remarks

It is useful in order to use a buffer in multiple contexts (e.g. OpenGL and CUDA).

See Also