MPSImageAdd(3) MetalPerformanceShaders.framework MPSImageAdd(3)
NAME
MPSImageAdd
SYNOPSIS
#import <MPSImageMath.h> Inherits MPSImageArithmetic. Instance Methods (nonnull instancetype) - initWithDevice: Additional Inherited Members
Detailed Description
This depends on Metal.framework. Specifies the addition 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 addition operator Parameters: device The device the filter will run on. Returns: A valid MPSImageAdd object or nil, if failure. Reimplemented from MPSImageArithmetic.
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSImageAdd(3)
Mac OS X 10.12.6 - Generated Mon Oct 30 16:01:59 CDT 2017