Class MPSMatrixDescriptor

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

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

    • MPSMatrixDescriptor

      public MPSMatrixDescriptor()
    • MPSMatrixDescriptor

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

      protected MPSMatrixDescriptor​(NSObject.SkipInit skipInit)
    • MPSMatrixDescriptor

      public MPSMatrixDescriptor​(long rows, long columns, long rowBytes, MPSDataType dataType)
      Since:
      Available in iOS 11.0 and later.
    • MPSMatrixDescriptor

      public MPSMatrixDescriptor​(long rows, long columns, long matrices, long rowBytes, long matrixBytes, MPSDataType dataType)
      Since:
      Available in iOS 11.0 and later.
  • Method Details

    • getRows

      public long getRows()
    • setRows

      public void setRows​(long v)
    • getColumns

      public long getColumns()
    • setColumns

      public void setColumns​(long v)
    • getMatrices

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

      public MPSDataType getDataType()
    • setDataType

      public void setDataType​(MPSDataType v)
    • getRowBytes

      public long getRowBytes()
    • setRowBytes

      public void setRowBytes​(long v)
    • getMatrixBytes

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

      @Deprecated public static MPSMatrixDescriptor createForDimensions​(long rows, long columns, long rowBytes, MPSDataType dataType)
      Deprecated.
      Deprecated in iOS 11.0. Use matrixDescriptorWithRows:columns:rowBytes:dataType instead.
      Since:
      Available in iOS 10.0 and later.
    • create

      protected static long create​(long rows, long columns, long rowBytes, MPSDataType dataType)
      Since:
      Available in iOS 11.0 and later.
    • create

      protected static long create​(long rows, long columns, long matrices, long rowBytes, long matrixBytes, MPSDataType dataType)
      Since:
      Available in iOS 11.0 and later.
    • getRowBytesFromColumns

      @Deprecated public static long getRowBytesFromColumns​(long columns, MPSDataType dataType)
      Deprecated.
      Deprecated in iOS 11.0. Use rowBytesForColumns:dataType instead.
      Since:
      Available in iOS 10.0 and later.
    • getRowBytesForColumns

      public static long getRowBytesForColumns​(long columns, MPSDataType dataType)
      Since:
      Available in iOS 11.0 and later.