Class MPSVector

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

public class MPSVector
extends NSObject
Since:
Available in iOS 11.0 and later.
  • Constructor Details

  • Method Details

    • getDevice

      public MTLDevice getDevice()
    • getLength

      public long getLength()
    • getVectors

      public long getVectors()
    • getDataType

      public MPSDataType getDataType()
    • getVectorBytes

      public long getVectorBytes()
    • getOffset

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

      public MTLBuffer getData()
    • init

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

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

      protected long init​(MTLDevice device, MPSVectorDescriptor descriptor)
      Since:
      Available in iOS 11.3 and later.
    • 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.