Class MPSImageThresholdToZero

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSImageThresholdToZero
extends MPSUnaryImageKernel
Since:
Available in iOS 9.0 and later.
  • Constructor Details

    • MPSImageThresholdToZero

      public MPSImageThresholdToZero()
    • MPSImageThresholdToZero

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

      protected MPSImageThresholdToZero​(NSObject.SkipInit skipInit)
    • MPSImageThresholdToZero

      public MPSImageThresholdToZero​(MTLDevice device, float thresholdValue, FloatPtr transform)
    • MPSImageThresholdToZero

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

      public MPSImageThresholdToZero​(NSCoder coder)
  • Method Details

    • getThresholdValue

      public float getThresholdValue()
    • getTransform

      public FloatPtr getTransform()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device, float thresholdValue, FloatPtr transform)
    • init

      protected long init​(NSCoder aDecoder, MTLDevice device)
      Overrides:
      init in class MPSUnaryImageKernel
      Since:
      Available in iOS 11.0 and later.