Class MPSImageCopyToMatrix

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSImageCopyToMatrix
extends MPSKernel
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • MPSImageCopyToMatrix

      public MPSImageCopyToMatrix()
    • MPSImageCopyToMatrix

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

      protected MPSImageCopyToMatrix​(NSObject.SkipInit skipInit)
    • MPSImageCopyToMatrix

      public MPSImageCopyToMatrix​(MTLDevice device, MPSDataLayout dataLayout)
    • MPSImageCopyToMatrix

      public MPSImageCopyToMatrix​(NSCoder aDecoder, MTLDevice device)
    • MPSImageCopyToMatrix

      public MPSImageCopyToMatrix​(MTLDevice device)
    • MPSImageCopyToMatrix

      public MPSImageCopyToMatrix​(NSCoder coder)
  • Method Details

    • getDestinationMatrixOrigin

      public MTLOrigin getDestinationMatrixOrigin()
    • setDestinationMatrixOrigin

      public void setDestinationMatrixOrigin​(MTLOrigin v)
    • getDestinationMatrixBatchIndex

      public long getDestinationMatrixBatchIndex()
    • setDestinationMatrixBatchIndex

      public void setDestinationMatrixBatchIndex​(long v)
    • getDataLayout

      public MPSDataLayout getDataLayout()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device, MPSDataLayout dataLayout)
    • init

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

      public void encode​(MTLCommandBuffer commandBuffer, MPSImage sourceImage, MPSMatrix destinationMatrix)
    • encode

      public void encode​(MTLCommandBuffer commandBuffer, NSArray<MPSImage> sourceImages, MPSMatrix destinationMatrix)
      Since:
      Available in iOS 12.0 and later.