Class MPSImageEDLines

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSImageEDLines
extends MPSKernel
Since:
Available in iOS 13.4 and later.
  • Constructor Details

    • MPSImageEDLines

      public MPSImageEDLines()
    • MPSImageEDLines

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

      protected MPSImageEDLines​(NSObject.SkipInit skipInit)
    • MPSImageEDLines

      public MPSImageEDLines​(MTLDevice device, float gaussianSigma, short minLineLength, long maxLines, short detailRatio, float gradientThreshold, float lineErrorThreshold, float mergeLocalityThreshold)
    • MPSImageEDLines

      public MPSImageEDLines​(NSCoder decoder, MTLDevice device)
    • MPSImageEDLines

      public MPSImageEDLines​(MTLDevice device)
    • MPSImageEDLines

      public MPSImageEDLines​(NSCoder coder)
  • Method Details

    • getClipRectSource

      public MTLRegion getClipRectSource()
    • setClipRectSource

      public void setClipRectSource​(MTLRegion v)
    • getGaussianSigma

      public float getGaussianSigma()
    • getMinLineLength

      public short getMinLineLength()
    • setMinLineLength

      public void setMinLineLength​(short v)
    • getMaxLines

      public long getMaxLines()
    • setMaxLines

      public void setMaxLines​(long v)
    • getDetailRatio

      public short getDetailRatio()
    • setDetailRatio

      public void setDetailRatio​(short v)
    • getGradientThreshold

      public float getGradientThreshold()
    • setGradientThreshold

      public void setGradientThreshold​(float v)
    • getLineErrorThreshold

      public float getLineErrorThreshold()
    • setLineErrorThreshold

      public void setLineErrorThreshold​(float v)
    • getMergeLocalityThreshold

      public float getMergeLocalityThreshold()
    • setMergeLocalityThreshold

      public void setMergeLocalityThreshold​(float v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device, float gaussianSigma, short minLineLength, long maxLines, short detailRatio, float gradientThreshold, float lineErrorThreshold, float mergeLocalityThreshold)
    • init

      protected long init​(NSCoder decoder, MTLDevice device)
      Overrides:
      init in class MPSKernel
    • encodeToCommandBuffer

      public void encodeToCommandBuffer​(MTLCommandBuffer commandBuffer, MTLTexture source, MTLTexture dest, MTLBuffer endpointBuffer, long endpointOffset)