Class MPSCNNBinaryKernel

    • Constructor Detail

      • MPSCNNBinaryKernel

        public MPSCNNBinaryKernel()
      • MPSCNNBinaryKernel

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

        public MPSCNNBinaryKernel​(MTLDevice device)
      • MPSCNNBinaryKernel

        public MPSCNNBinaryKernel​(NSCoder decoder,
                                  MTLDevice device)
      • MPSCNNBinaryKernel

        public MPSCNNBinaryKernel​(NSCoder decoder)
    • Method Detail

      • getPrimaryOffset

        public MPSOffset getPrimaryOffset()
      • setPrimaryOffset

        public void setPrimaryOffset​(MPSOffset v)
      • getSecondaryOffset

        public MPSOffset getSecondaryOffset()
      • setSecondaryOffset

        public void setSecondaryOffset​(MPSOffset v)
      • getClipRect

        public MTLRegion getClipRect()
      • setClipRect

        public void setClipRect​(MTLRegion v)
      • getDestinationFeatureChannelOffset

        public long getDestinationFeatureChannelOffset()
      • setDestinationFeatureChannelOffset

        public void setDestinationFeatureChannelOffset​(long v)
      • getPrimarySourceFeatureChannelOffset

        public long getPrimarySourceFeatureChannelOffset()
        Since:
        Available in iOS 11.3 and later.
      • setPrimarySourceFeatureChannelOffset

        public void setPrimarySourceFeatureChannelOffset​(long v)
        Since:
        Available in iOS 11.3 and later.
      • getSecondarySourceFeatureChannelOffset

        public long getSecondarySourceFeatureChannelOffset()
        Since:
        Available in iOS 11.3 and later.
      • setSecondarySourceFeatureChannelOffset

        public void setSecondarySourceFeatureChannelOffset​(long v)
        Since:
        Available in iOS 11.3 and later.
      • getPrimarySourceFeatureChannelMaxCount

        public long getPrimarySourceFeatureChannelMaxCount()
      • setPrimarySourceFeatureChannelMaxCount

        public void setPrimarySourceFeatureChannelMaxCount​(long v)
      • getSecondarySourceFeatureChannelMaxCount

        public long getSecondarySourceFeatureChannelMaxCount()
      • setSecondarySourceFeatureChannelMaxCount

        public void setSecondarySourceFeatureChannelMaxCount​(long v)
      • setSecondaryEdgeMode

        public void setSecondaryEdgeMode​(MPSImageEdgeMode v)
      • getPrimaryKernelWidth

        public long getPrimaryKernelWidth()
        Since:
        Available in iOS 11.3 and later.
      • getPrimaryKernelHeight

        public long getPrimaryKernelHeight()
        Since:
        Available in iOS 11.3 and later.
      • getSecondaryKernelWidth

        public long getSecondaryKernelWidth()
        Since:
        Available in iOS 11.3 and later.
      • getSecondaryKernelHeight

        public long getSecondaryKernelHeight()
        Since:
        Available in iOS 11.3 and later.
      • getPrimaryStrideInPixelsX

        public long getPrimaryStrideInPixelsX()
        Since:
        Available in iOS 11.3 and later.
      • setPrimaryStrideInPixelsX

        public void setPrimaryStrideInPixelsX​(long v)
        Since:
        Available in iOS 11.3 and later.
      • getPrimaryStrideInPixelsY

        public long getPrimaryStrideInPixelsY()
        Since:
        Available in iOS 11.3 and later.
      • setPrimaryStrideInPixelsY

        public void setPrimaryStrideInPixelsY​(long v)
        Since:
        Available in iOS 11.3 and later.
      • getSecondaryStrideInPixelsX

        public long getSecondaryStrideInPixelsX()
        Since:
        Available in iOS 11.3 and later.
      • setSecondaryStrideInPixelsX

        public void setSecondaryStrideInPixelsX​(long v)
        Since:
        Available in iOS 11.3 and later.
      • getSecondaryStrideInPixelsY

        public long getSecondaryStrideInPixelsY()
        Since:
        Available in iOS 11.3 and later.
      • setSecondaryStrideInPixelsY

        public void setSecondaryStrideInPixelsY​(long v)
        Since:
        Available in iOS 11.3 and later.
      • getPrimaryDilationRateX

        public long getPrimaryDilationRateX()
        Since:
        Available in iOS 11.3 and later.
      • getPrimaryDilationRateY

        public long getPrimaryDilationRateY()
        Since:
        Available in iOS 11.3 and later.
      • getSecondaryDilationRateX

        public long getSecondaryDilationRateX()
        Since:
        Available in iOS 11.3 and later.
      • getSecondaryDilationRateY

        public long getSecondaryDilationRateY()
        Since:
        Available in iOS 11.3 and later.
      • isBackwards

        public boolean isBackwards()
      • isStateModified

        public boolean isStateModified()
        Since:
        Available in iOS 11.3 and later.
      • getDestinationImageAllocator

        public MPSImageAllocator getDestinationImageAllocator()
      • setDestinationImageAllocator

        public void setDestinationImageAllocator​(MPSImageAllocator v)
      • isResultStateReusedAcrossBatch

        public boolean isResultStateReusedAcrossBatch()
        Since:
        Available in iOS 11.3 and later.
      • appendBatchBarrier

        public boolean appendBatchBarrier()
        Since:
        Available in iOS 11.3 and later.