SoConversionConvertFloatToRGBA Method (SoCpuBufferObject, SoCpuBufferObject, UInt64, Single, Single) |
Convert FLOAT data stored in a buffer to RGBA data.
Namespace: OIV.Inventor.AlgorithmsAssembly: 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
)
Public Function ConvertFloatToRGBA (
sourceBufferObject As SoCpuBufferObject,
targetBufferObject As SoCpuBufferObject,
size As ULong,
dataMin As Single,
dataMax As Single
) As Integer
public:
int ConvertFloatToRGBA(
SoCpuBufferObject^ sourceBufferObject,
SoCpuBufferObject^ targetBufferObject,
unsigned long long size,
float dataMin,
float dataMax
)
member ConvertFloatToRGBA :
sourceBufferObject : SoCpuBufferObject *
targetBufferObject : SoCpuBufferObject *
size : uint64 *
dataMin : float32 *
dataMax : float32 -> int
Parameters
- sourceBufferObject
- Type: OIV.Inventor.DevicesSoCpuBufferObject
- targetBufferObject
- Type: OIV.Inventor.DevicesSoCpuBufferObject
- size
- Type: SystemUInt64
- dataMin
- Type: SystemSingle
- dataMax
- Type: SystemSingle
Return Value
Type:
Int32Remarks Fast implementation for CPU buffers.
See Also