Class MPSImage

    • Method Detail

      • getWidth

        public long getWidth()
      • getHeight

        public long getHeight()
      • getFeatureChannels

        public long getFeatureChannels()
      • getNumberOfImages

        public long getNumberOfImages()
      • getPrecision

        public long getPrecision()
      • getPixelSize

        public long getPixelSize()
      • getLabel

        public java.lang.String getLabel()
      • setLabel

        public void setLabel​(java.lang.String v)
      • getParent

        public MPSImage getParent()
      • init

        protected long init​(MPSImage parent,
                            NSRange sliceRange,
                            long featureChannels)
      • init

        protected long init​(MTLTexture texture,
                            long featureChannels)
      • resourceSize

        public long resourceSize()
        Since:
        Available in iOS 11.0 and later.
      • readBytes

        public void readBytes​(org.robovm.rt.bro.ptr.VoidPtr dataBytes,
                              MPSDataLayout dataLayout,
                              long bytesPerRow,
                              MTLRegion region,
                              MPSImageReadWriteParams featureChannelInfo,
                              long imageIndex)
        Since:
        Available in iOS 11.0 and later.
      • writeBytes

        public void writeBytes​(org.robovm.rt.bro.ptr.VoidPtr dataBytes,
                               MPSDataLayout dataLayout,
                               long bytesPerRow,
                               MTLRegion region,
                               MPSImageReadWriteParams featureChannelInfo,
                               long imageIndex)
        Since:
        Available in iOS 11.0 and later.
      • readBytes

        public void readBytes​(org.robovm.rt.bro.ptr.VoidPtr dataBytes,
                              MPSDataLayout dataLayout,
                              long bytesPerRow,
                              long bytesPerImage,
                              MTLRegion region,
                              MPSImageReadWriteParams featureChannelInfo,
                              long imageIndex)
        Since:
        Available in iOS 11.0 and later.
      • writeBytes

        public void writeBytes​(org.robovm.rt.bro.ptr.VoidPtr dataBytes,
                               MPSDataLayout dataLayout,
                               long bytesPerRow,
                               long bytesPerImage,
                               MTLRegion region,
                               MPSImageReadWriteParams featureChannelInfo,
                               long imageIndex)
        Since:
        Available in iOS 11.3 and later.
      • readBytes

        public void readBytes​(org.robovm.rt.bro.ptr.VoidPtr dataBytes,
                              MPSDataLayout dataLayout,
                              long imageIndex)
        Since:
        Available in iOS 11.0 and later.
      • writeBytes

        public void writeBytes​(org.robovm.rt.bro.ptr.VoidPtr dataBytes,
                               MPSDataLayout dataLayout,
                               long imageIndex)
        Since:
        Available in iOS 11.0 and later.
      • synchronizeOnCommandBuffer

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