Click or drag to resize
SoConversionConvert Method (SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, UInt64)

Convert the data in a buffer object from one data type to another one.

Namespace: OIV.Inventor.Algorithms
Assembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public int Convert(
	SoCpuBufferObject sourceBufferObject,
	SbDataType src_type,
	SoCpuBufferObject targetBufferObject,
	SbDataType dst_type,
	ulong size
)

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: Int32
Remarks

Fast implementation for CPU buffers.

See Also