---
title: "init(name:arguments:controlDependencies:)"
framework: metal
role: symbol
role_heading: Initializer
path: "metal/mtlfunctionstitchingfunctionnode/init(name:arguments:controldependencies:)"
---

# init(name:arguments:controlDependencies:)

Creates a new function node.

## Declaration

```swift
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.
