Contents

controlDependencies

The list of nodes that need to execute before executing the node.

Declaration

var controlDependencies: [MTLFunctionStitchingFunctionNode] { get set }

Discussion

When a stitched function calls functions that have side effects on their input data, you often need the GPU to execute functions in a specific order. In such cases, use the controlDependencies property to specify which nodes need to run before executing this node.

See Also

Configuring a function node