SoBufferObjectMap Method (SoBufferObjectAccessModes, UInt64, UInt64) |
Map the buffer to a system memory address and allows the mapping of a sub part of the buffer object into CPU memory.
Namespace: OIV.Inventor.DevicesAssembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public virtual SbNativeArray<byte> Map(
SoBufferObjectAccessModes accessMode,
ulong offset,
ulong count
)
Public Overridable Function Map (
accessMode As SoBufferObjectAccessModes,
offset As ULong,
count As ULong
) As SbNativeArray(Of Byte)
public:
virtual SbNativeArray<unsigned char>^ Map(
SoBufferObjectAccessModes accessMode,
unsigned long long offset,
unsigned long long count
)
abstract Map :
accessMode : SoBufferObjectAccessModes *
offset : uint64 *
count : uint64 -> SbNativeArray<byte>
override Map :
accessMode : SoBufferObjectAccessModes *
offset : uint64 *
count : uint64 -> SbNativeArray<byte>
Parameters
- accessMode
- Type: OIV.Inventor.DevicesSoBufferObjectAccessModes
- offset
- Type: SystemUInt64
- count
- Type: SystemUInt64
Return Value
Type:
SbNativeArrayByteReference to data in the mapped region of the buffer memory.
Remarks See Also