Click or drag to resize
SoOpenCLConversionConvertFloatToRGBA Method (SoOpenCLBufferObject, SoOpenCLBufferObject, UInt64, Single, Single)

Convert FLOAT data stored in a buffer to (grayscale) RGBA data.

Namespace: OIV.Inventor.OpenCL.Algorithms
Assembly: OIV.Inventor.OpenCL (in OIV.Inventor.OpenCL.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public int ConvertFloatToRGBA(
	SoOpenCLBufferObject sourceBufferObject,
	SoOpenCLBufferObject targetBufferObject,
	ulong size,
	float dataMin,
	float dataMax
)

Parameters

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

Return Value

Type: Int32
Remarks

OpenCL input version.

See Also