.TH "MPSCNNSubtract" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSCNNSubtract .SH SYNOPSIS .br .PP .PP \fC#import \fP .PP Inherits \fBMPSCNNArithmetic\fP\&. .SS "Instance Methods" .in +1c .ti -1c .RI "(nonnull instancetype) \- \fBinitWithDevice:\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP 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\&. .SH "Method Documentation" .PP .SS "\- (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device" Initialize the subtraction operator .PP \fBParameters:\fP .RS 4 \fIdevice\fP The device the filter will run on\&. .RE .PP \fBReturns:\fP .RS 4 \fBA\fP valid \fBMPSCNNSubtract\fP object or nil, if failure\&. .RE .PP .PP Reimplemented from \fBMPSCNNArithmetic\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.