Class MPSMatrixCopyToImage

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSMatrixCopyToImage
extends MPSKernel
Since:
Available in iOS 12.0 and later.
  • Constructor Details

    • MPSMatrixCopyToImage

      public MPSMatrixCopyToImage()
    • MPSMatrixCopyToImage

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

      protected MPSMatrixCopyToImage​(NSObject.SkipInit skipInit)
    • MPSMatrixCopyToImage

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

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

      public MPSMatrixCopyToImage​(MTLDevice device)
    • MPSMatrixCopyToImage

      public MPSMatrixCopyToImage​(NSCoder coder)
  • Method Details

    • getSourceMatrixOrigin

      public MTLOrigin getSourceMatrixOrigin()
    • setSourceMatrixOrigin

      public void setSourceMatrixOrigin​(MTLOrigin v)
    • getSourceMatrixBatchIndex

      public long getSourceMatrixBatchIndex()
    • setSourceMatrixBatchIndex

      public void setSourceMatrixBatchIndex​(long v)
    • getDataLayout

      public MPSDataLayout getDataLayout()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

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

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

      public void encode​(MTLCommandBuffer commandBuffer, MPSMatrix sourceMatrix, MPSImage destinationImage)
    • encodeBatch

      public void encodeBatch​(MTLCommandBuffer commandBuffer, MPSMatrix sourceMatrix, NSArray<MPSImage> destinationImages)
      Since:
      Available in iOS 12.0 and later.