setArgumentTable(_:)
Sets an argument table for the compute shader stage of this pipeline.
Declaration
func setArgumentTable(_ argumentTable: (any MTL4ArgumentTable)?)Parameters
- argumentTable:
A Mtl4argumenttable to set on the command encoder.
Discussion
Metal takes a snapshot of the resources in the argument table when you make dispatch or execute calls on this encoder instance. Metal makes the snapshot contents available to the compute shader function of the current pipeline state.