SoArithmeticMadd Method (SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, SoCpuBufferObject, SbDataType, Single) |
C = A * scale + B
Fast version for Cpu buffers.
Namespace: OIV.Inventor.AlgorithmsAssembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public int Madd(
SoCpuBufferObject inputBufferA,
SbDataType typeA,
SoCpuBufferObject inputBufferB,
SbDataType typeB,
SoCpuBufferObject outputBufferC,
SbDataType typeC,
float scaleValue
)
Public Function Madd (
inputBufferA As SoCpuBufferObject,
typeA As SbDataType,
inputBufferB As SoCpuBufferObject,
typeB As SbDataType,
outputBufferC As SoCpuBufferObject,
typeC As SbDataType,
scaleValue As Single
) As Integer
public:
int Madd(
SoCpuBufferObject^ inputBufferA,
SbDataType typeA,
SoCpuBufferObject^ inputBufferB,
SbDataType typeB,
SoCpuBufferObject^ outputBufferC,
SbDataType typeC,
float scaleValue
)
member Madd :
inputBufferA : SoCpuBufferObject *
typeA : SbDataType *
inputBufferB : SoCpuBufferObject *
typeB : SbDataType *
outputBufferC : SoCpuBufferObject *
typeC : SbDataType *
scaleValue : float32 -> int
Parameters
- inputBufferA
- Type: OIV.Inventor.DevicesSoCpuBufferObject
- typeA
- Type: OIV.InventorSbDataType
- inputBufferB
- Type: OIV.Inventor.DevicesSoCpuBufferObject
- typeB
- Type: OIV.InventorSbDataType
- outputBufferC
- Type: OIV.Inventor.DevicesSoCpuBufferObject
- typeC
- Type: OIV.InventorSbDataType
- scaleValue
- Type: SystemSingle
Return Value
Type:
Int32Remarks See Also