Contents

setArgumentTable(_:)

Sets an argument table for the compute shader stage of this pipeline.

Declaration

func setArgumentTable(_ argumentTable: (any MTL4ArgumentTable)?)

Parameters

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.

See Also

Configuring the pass