SoCpuBufferFromVolumeReaderMap Method (SoBufferObject, SoBufferObjectAccessModes, UInt64, UInt64) |
Map the current buffer object into the specified buffer object.
Namespace: OIV.LDM.TilesAssembly: OIV.LDM (in OIV.LDM.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public override void Map(
SoBufferObject targetBufferObject,
SoBufferObjectAccessModes accessMode,
ulong startPosition,
ulong mappingSize
)
Public Overrides Sub Map (
targetBufferObject As SoBufferObject,
accessMode As SoBufferObjectAccessModes,
startPosition As ULong,
mappingSize As ULong
)
public:
virtual void Map(
SoBufferObject^ targetBufferObject,
SoBufferObjectAccessModes accessMode,
unsigned long long startPosition,
unsigned long long mappingSize
) override
abstract Map :
targetBufferObject : SoBufferObject *
accessMode : SoBufferObjectAccessModes *
startPosition : uint64 *
mappingSize : uint64 -> unit
override Map :
targetBufferObject : SoBufferObject *
accessMode : SoBufferObjectAccessModes *
startPosition : uint64 *
mappingSize : uint64 -> unit
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
size from the startPosition, if SO_BUFFER_SIZE_ALL then the whole buffer is mapped.
Remarks
It is useful in order to use a buffer in multiple contexts.
See Also