Contents

setArgumentTable(_:stages:)

Associates an argument table with a set of render stages.

Declaration

func setArgumentTable(_ argumentTable: (any MTL4ArgumentTable)?, stages: MTLRenderStages)

Parameters

Discussion

Metal takes a snapshot of the resources in the argument table when you encode a draw, dispatch, or execute command. This snapshot becomes available to the stages you specify to this method.