Contents

init(name:arguments:controlDependencies:)

Creates a new function node.

Declaration

init(name: String, arguments: [any MTLFunctionStitchingNode], controlDependencies: [MTLFunctionStitchingFunctionNode])

Parameters

  • name:

    The name of the function to call.

  • arguments:

    An ordered list of the nodes that provide the function’s arguments.

  • controlDependencies:

    The list of nodes that need to run before executing this node.