---
title: privateFunctions
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtllinkedfunctions/privatefunctions
---

# privateFunctions

An array of function objects to link to the new function, without exporting the functions publicly.

## Declaration

```swift
var privateFunctions: [any MTLFunction]? { get set }
```

## Discussion

Discussion The pipeline doesn’t export these functions as MTLFunctionHandle instances because the Metal device doesn’t need to support function pointers to link private functions.

## See Also

### Specifying related functions

- [functions](metal/mtllinkedfunctions/functions.md)
- [binaryFunctions](metal/mtllinkedfunctions/binaryfunctions.md)
- [groups](metal/mtllinkedfunctions/groups.md)
