Class MPSMatrix

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol
Direct Known Subclasses:
MPSTemporaryMatrix

public class MPSMatrix
extends NSObject
Since:
Available in iOS 10.0 and later.
  • Constructor Details

  • Method Details

    • getDevice

      public MTLDevice getDevice()
    • getRows

      public long getRows()
    • getColumns

      public long getColumns()
    • getMatrices

      public long getMatrices()
      Since:
      Available in iOS 11.0 and later.
    • getDataType

      public MPSDataType getDataType()
    • getRowBytes

      public long getRowBytes()
    • getMatrixBytes

      public long getMatrixBytes()
      Since:
      Available in iOS 11.0 and later.
    • getOffset

      public long getOffset()
      Since:
      Available in iOS 13.0 and later.
    • getData

      public MTLBuffer getData()
    • init

      protected long init​(MTLBuffer buffer, MPSMatrixDescriptor descriptor)
    • init

      protected long init​(MTLBuffer buffer, long offset, MPSMatrixDescriptor descriptor)
      Since:
      Available in iOS 13.0 and later.
    • init

      protected long init​(MTLDevice device, MPSMatrixDescriptor descriptor)
    • synchronizeOnCommandBuffer

      public void synchronizeOnCommandBuffer​(MTLCommandBuffer commandBuffer)
      Since:
      Available in iOS 11.3 and later.
    • resourceSize

      public long resourceSize()
      Since:
      Available in iOS 11.3 and later.