MPSImageDivide(3)

NAME
MPSImageDivide

SYNOPSIS

#import <MPSImageMath.h>

Inherits MPSImageArithmetic.

  Instance Methods
(nonnull instancetype) - initWithDevice:

  Additional Inherited Members

Detailed Description

This depends on Metal.framework. Specifies the division 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 division operator

Parameters:
    device The device the filter will run on.

Returns:
    A valid MPSImageDivide object or nil, if failure.

Reimplemented from MPSImageArithmetic.

Author

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