SoConversionConvert Method (SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, UInt64) |
Convert the data in a buffer object from one data type to another one.
Namespace: OIV.Inventor.AlgorithmsAssembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public int Convert(
SoCpuBufferObject sourceBufferObject,
SbDataType src_type,
SoCpuBufferObject targetBufferObject,
SbDataType dst_type,
ulong size
)
Public Function Convert (
sourceBufferObject As SoCpuBufferObject,
src_type As SbDataType,
targetBufferObject As SoCpuBufferObject,
dst_type As SbDataType,
size As ULong
) As Integer
public:
int Convert(
SoCpuBufferObject^ sourceBufferObject,
SbDataType src_type,
SoCpuBufferObject^ targetBufferObject,
SbDataType dst_type,
unsigned long long size
)
member Convert :
sourceBufferObject : SoCpuBufferObject *
src_type : SbDataType *
targetBufferObject : SoCpuBufferObject *
dst_type : SbDataType *
size : uint64 -> int
Parameters
- sourceBufferObject
- Type: OIV.Inventor.DevicesSoCpuBufferObject
- src_type
- Type: OIV.InventorSbDataType
- targetBufferObject
- Type: OIV.Inventor.DevicesSoCpuBufferObject
- dst_type
- Type: OIV.InventorSbDataType
- size
- Type: SystemUInt64
Return Value
Type:
Int32Remarks
Fast implementation for CPU buffers.
See Also