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: 2023.1.3.0 (2023.1.3)
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