manpagez: man pages & more
man MPSImageSubtract(3)
Home | html | info | man
MPSImageSubtract(3)    MetalPerformanceShaders.framework   MPSImageSubtract(3)




NAME

       MPSImageSubtract


SYNOPSIS

       #import <MPSImageMath.h>

       Inherits MPSImageArithmetic.

   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 MPSImageSubtract 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            MPSImageSubtract(3)


Mac OS X 10.12.6 - Generated Mon Oct 30 18:29:59 CDT 2017
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.