Class MPSImageArithmetic

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol
Direct Known Subclasses:
MPSImageAdd, MPSImageDivide, MPSImageMultiply, MPSImageSubtract

public class MPSImageArithmetic
extends MPSBinaryImageKernel
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • MPSImageArithmetic

      public MPSImageArithmetic()
    • MPSImageArithmetic

      protected MPSImageArithmetic​(NSObject.Handle h, long handle)
    • MPSImageArithmetic

      protected MPSImageArithmetic​(NSObject.SkipInit skipInit)
    • MPSImageArithmetic

      public MPSImageArithmetic​(NSCoder decoder, MTLDevice device)
      Since:
      Available in iOS 11.0 and later.
    • MPSImageArithmetic

      public MPSImageArithmetic​(NSCoder coder)
  • Method Details

    • getPrimaryScale

      public float getPrimaryScale()
    • setPrimaryScale

      public void setPrimaryScale​(float v)
    • getSecondaryScale

      public float getSecondaryScale()
    • setSecondaryScale

      public void setSecondaryScale​(float v)
    • getBias

      public float getBias()
    • setBias

      public void setBias​(float v)
    • getPrimaryStrideInPixels

      public MTLSize getPrimaryStrideInPixels()
    • setPrimaryStrideInPixels

      public void setPrimaryStrideInPixels​(MTLSize v)
    • getSecondaryStrideInPixels

      public MTLSize getSecondaryStrideInPixels()
    • setSecondaryStrideInPixels

      public void setSecondaryStrideInPixels​(MTLSize v)
    • getMinimumValue

      public float getMinimumValue()
      Since:
      Available in iOS 11.3 and later.
    • setMinimumValue

      public void setMinimumValue​(float v)
      Since:
      Available in iOS 11.3 and later.
    • getMaximumValue

      public float getMaximumValue()
      Since:
      Available in iOS 11.3 and later.
    • setMaximumValue

      public void setMaximumValue​(float v)
      Since:
      Available in iOS 11.3 and later.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()