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: 10.12.3.0 (10.12.3.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