MTLIndirectComputeCommand
A compute command in an indirect command buffer.
Declaration
protocol MTLIndirectComputeCommand : NSObjectProtocolOverview
Don’t implement this protocol; you get instances of this type by asking an MTLIndirectCommandBuffer for them.
Use this instance to reset or encode a command. You need to reset a command before encoding a new command.
Topics
Setting a command’s arguments
setComputePipelineState(_:)setImageblockWidth(_:height:)setKernelBuffer(_:offset:at:)setThreadgroupMemoryLength(_:index:)setThreadgroupMemoryLength(_:at:)setStageInRegion(_:)setStageIn(_:)
Synchronizing command execution
Encoding a compute command
concurrentDispatchThreadgroups(_:threadsPerThreadgroup:)concurrentDispatchThreads(_:threadsPerThreadgroup:)