Interface MTLArgumentEncoder

All Superinterfaces:
NSObjectProtocol, ObjCProtocol
All Known Implementing Classes:
MTLArgumentEncoderAdapter

public interface MTLArgumentEncoder
extends NSObjectProtocol
Since:
Available in iOS 11.0 and later.
  • Method Details

    • getDevice

      MTLDevice getDevice()
    • getLabel

      String getLabel()
    • setLabel

      void setLabel​(String v)
    • getEncodedLength

      long getEncodedLength()
    • getAlignment

      long getAlignment()
    • setArgumentBuffer

      void setArgumentBuffer​(MTLBuffer argumentBuffer, long offset)
    • setArgumentBuffer

      void setArgumentBuffer​(MTLBuffer argumentBuffer, long startOffset, long arrayElement)
    • setBuffer

      void setBuffer​(MTLBuffer buffer, long offset, long index)
    • setBuffers

      void setBuffers​(MTLBuffer buffers, MachineSizedUIntPtr offsets, NSRange range)
    • setTexture

      void setTexture​(MTLTexture texture, long index)
    • setTextures

      void setTextures​(MTLTexture textures, NSRange range)
    • setSamplerState

      void setSamplerState​(MTLSamplerState sampler, long index)
    • setSamplerStates

      void setSamplerStates​(MTLSamplerState samplers, NSRange range)
    • constantDataAtIndex

      VoidPtr constantDataAtIndex​(long index)
    • setRenderPipelineState

      void setRenderPipelineState​(MTLRenderPipelineState pipeline, long index)
      Since:
      Available in iOS 13.0 and later.
    • setRenderPipelineStates

      void setRenderPipelineStates​(MTLRenderPipelineState pipelines, NSRange range)
      Since:
      Available in iOS 13.0 and later.
    • setComputePipelineState

      void setComputePipelineState​(MTLComputePipelineState pipeline, long index)
      Since:
      Available in iOS 13.0 and later.
    • setComputePipelineStates

      void setComputePipelineStates​(MTLComputePipelineState pipelines, NSRange range)
      Since:
      Available in iOS 13.0 and later.
    • setIndirectCommandBuffer

      void setIndirectCommandBuffer​(MTLIndirectCommandBuffer indirectCommandBuffer, long index)
      Since:
      Available in iOS 12.0 and later.
    • setIndirectCommandBuffers

      void setIndirectCommandBuffers​(MTLIndirectCommandBuffer buffers, NSRange range)
      Since:
      Available in iOS 12.0 and later.
    • setAccelerationStructure

      void setAccelerationStructure​(MTLAccelerationStructure accelerationStructure, long index)
      Since:
      Available in iOS 14.0 and later.
    • newArgumentEncoderForBufferAtIndex

      MTLArgumentEncoder newArgumentEncoderForBufferAtIndex​(long index)
      Since:
      Available in iOS 11.0 and later.
    • setVisibleFunctionTable

      void setVisibleFunctionTable​(MTLVisibleFunctionTable visibleFunctionTable, long index)
      Since:
      Available in iOS 14.0 and later.
    • setVisibleFunctionTables

      void setVisibleFunctionTables​(MTLVisibleFunctionTable visibleFunctionTables, NSRange range)
      Since:
      Available in iOS 14.0 and later.
    • setIntersectionFunctionTable

      void setIntersectionFunctionTable​(MTLIntersectionFunctionTable intersectionFunctionTable, long index)
      Since:
      Available in iOS 14.0 and later.
    • setIntersectionFunctionTables

      void setIntersectionFunctionTables​(MTLIntersectionFunctionTable intersectionFunctionTables, NSRange range)
      Since:
      Available in iOS 14.0 and later.