Query: mpscnnsubtract
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MPSCNNSubtract(3) MetalPerformanceShaders.framework MPSCNNSubtract(3)NAMEMPSCNNSubtractSYNOPSIS#import <MPSCNNMath.h> Inherits MPSCNNArithmetic. Instance Methods (nonnull instancetype) - initWithDevice: Additional Inherited Members Detailed Description This depends on Metal.framework. Specifies the subtraction 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. Method Documentation - (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device Initialize the subtraction operator Parameters: device The device the filter will run on. Returns: A valid MPSCNNSubtract object or nil, if failure. Reimplemented from MPSCNNArithmetic. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNSubtract(3)