SoOpenCLArithmeticScale Method (SoOpenCLBufferObject, SbDataType, SoOpenCLBufferObject, SbDataType, Single) |
B = A * scaleFactor
OpenCL input version.
Namespace: OIV.Inventor.OpenCL.AlgorithmsAssembly: OIV.Inventor.OpenCL (in OIV.Inventor.OpenCL.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic int Scale(
SoOpenCLBufferObject inputBufferA,
SbDataType typeA,
SoOpenCLBufferObject outputBufferB,
SbDataType typeB,
float scaleValue
)
Public Function Scale (
inputBufferA As SoOpenCLBufferObject,
typeA As SbDataType,
outputBufferB As SoOpenCLBufferObject,
typeB As SbDataType,
scaleValue As Single
) As Integer
public:
int Scale(
SoOpenCLBufferObject^ inputBufferA,
SbDataType typeA,
SoOpenCLBufferObject^ outputBufferB,
SbDataType typeB,
float scaleValue
)
member Scale :
inputBufferA : SoOpenCLBufferObject *
typeA : SbDataType *
outputBufferB : SoOpenCLBufferObject *
typeB : SbDataType *
scaleValue : float32 -> int
Parameters
- inputBufferA
- Type: OIV.Inventor.DevicesSoOpenCLBufferObject
- typeA
- Type: OIV.InventorSbDataType
- outputBufferB
- Type: OIV.Inventor.DevicesSoOpenCLBufferObject
- typeB
- Type: OIV.InventorSbDataType
- scaleValue
- Type: SystemSingle
Return Value
Type:
Int32
Remarks
See Also