MPSCNNMultiply(3) MetalPerformanceShaders.framework MPSCNNMultiply(3)

MPSCNNMultiply

#import <MPSCNNMath.h>

Inherits MPSCNNArithmetic.


(nonnull instancetype) - initWithDevice:

This depends on Metal.framework. Specifies the multiplication operator. For each pixel in the primary source image (x) and each pixel in a secondary source image (y), it applies the following function: result = ((primaryScale * x) * (secondaryScale * y)) + bias.

- (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device

Initialize the multiplication operator

Parameters:

device The device the filter will run on.

Returns:

A valid MPSCNNMultiply object or nil, if failure.

Reimplemented from MPSCNNArithmetic.

Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3