---
title: outputNode
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlfunctionstitchinggraph/outputnode
---

# outputNode

The node with the output that’s the output of the new stitched function.

## Declaration

```swift
var outputNode: MTLFunctionStitchingFunctionNode? { get set }
```

## Discussion

Discussion The output type of the node needs to match the result type in the stitched function’s declaration.

## See Also

### Configuring a function graph

- [functionName](metal/mtlfunctionstitchinggraph/functionname.md)
- [nodes](metal/mtlfunctionstitchinggraph/nodes.md)
- [attributes](metal/mtlfunctionstitchinggraph/attributes.md)
