Class MPSMatrixDescriptor

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

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

      • MPSMatrixDescriptor

        public MPSMatrixDescriptor()
      • MPSMatrixDescriptor

        protected MPSMatrixDescriptor​(NSObject.Handle h,
                                      long handle)
      • 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 Detail

      • 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.
      • 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.
        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.
        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.