Class MPSImageThresholdTruncate

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

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

    • MPSImageThresholdTruncate

      public MPSImageThresholdTruncate()
    • MPSImageThresholdTruncate

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

      protected MPSImageThresholdTruncate​(NSObject.SkipInit skipInit)
    • MPSImageThresholdTruncate

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

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

      public MPSImageThresholdTruncate​(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.