Click or drag to resize
SoConversion.ConvertFloatToRGBA 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.3.0.0 (10.3.0.0)
Syntax
public int ConvertFloatToRGBA(
	SoCpuBufferObject sourceBufferObject,
	SoCpuBufferObject targetBufferObject,
	ulong size,
	float dataMin,
	float dataMax
)

Parameters

sourceBufferObject
Type: OIV.Inventor.Devices.SoCpuBufferObject
targetBufferObject
Type: OIV.Inventor.Devices.SoCpuBufferObject
size
Type: System.UInt64
dataMin
Type: System.Single
dataMax
Type: System.Single

Return Value

Type: Int32
Remarks

Fast implementation for CPU buffers.

See Also