Contents

MTLFunctionStitchingFunctionNode

A call graph node that describes a function call and its inputs.

Declaration

class MTLFunctionStitchingFunctionNode

Overview

When the Metal device object evaluates the function graph to compile the stitched function, it evaluates the nodes stored in the arguments property that it hasn’t already evaluated, and then calls the function specified by name to generate the node’s output.

If the function has side effects on the input data, use the controlDependencies property on other nodes to specify whether the Metal device object needs to evaluate this node first.

Topics

Initializing a function node

Configuring a function node

See Also

Stitched function libraries