Click or drag to resize
SoConversionConvertFloatToRGBA Method (SoCpuBufferObject, SoCpuBufferObject, UInt64, Single, Single)

Convert FLOAT data stored in a buffer to RGBA data.

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 ConvertFloatToRGBA(
	SoCpuBufferObject sourceBufferObject,
	SoCpuBufferObject targetBufferObject,
	ulong size,
	float dataMin,
	float dataMax
)

Parameters

sourceBufferObject
Type: OIV.Inventor.DevicesSoCpuBufferObject
targetBufferObject
Type: OIV.Inventor.DevicesSoCpuBufferObject
size
Type: SystemUInt64
dataMin
Type: SystemSingle
dataMax
Type: SystemSingle

Return Value

Type: Int32
Remarks

Fast implementation for CPU buffers.

See Also