One Logo Pool Ball
Metal · IOS API REFERENCE

MTLArgumentEncoder

protocol · iOS 11.0+ · SDK 27.1

protocol MTLArgumentEncoder : NSObjectProtocol

Members (9)

method · iOS 11.0+

setBuffers

Swift declaration
func setBuffers(_ buffers: [(any MTLBuffer)?], offsets: [Int], range: Range<Int>)
method · iOS 11.0+

setTextures

Swift declaration
func setTextures(_ textures: [(any MTLTexture)?], range: Range<Int>)
method · iOS 11.0+

setSamplerStates

Swift declaration
func setSamplerStates(_ samplers: [(any MTLSamplerState)?], range: Range<Int>)
method · iOS 13.0+ · Deprecated in iOS 14.0

setComputePipelineState

Swift declaration
func setComputePipelineState(_ pipeline: (any MTLComputePipelineState)?, at index: Int)
method · iOS 13.0+

setRenderPipelineStates

Swift declaration
func setRenderPipelineStates(_ pipelines: [(any MTLRenderPipelineState)?], range: Range<Int>)
method · iOS 13.0+

setComputePipelineStates

Swift declaration
func setComputePipelineStates(_ pipelines: [(any MTLComputePipelineState)?], range: Range<Int>)
method · iOS 14.0+

setVisibleFunctionTables

Swift declaration
func setVisibleFunctionTables(_ visibleFunctionTables: [(any MTLVisibleFunctionTable)?], range: Range<Int>)
method · iOS 12.0+

setIndirectCommandBuffers

Swift declaration
func setIndirectCommandBuffers(_ buffers: [(any MTLIndirectCommandBuffer)?], range: Range<Int>)
method · iOS 14.0+

setIntersectionFunctionTables

Swift declaration
func setIntersectionFunctionTables(_ intersectionFunctionTables: [(any MTLIntersectionFunctionTable)?], range: Range<Int>)

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MTLArgumentEncoder.setComputePipelineStates(_:with:)

This output pointer cannot safely be represented by the bridge.

All Metal types →