---
title: "setFunctions(_:range:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtlvisiblefunctiontable/setfunctions(_:range:)"
---

# setFunctions(_:range:)

Sets a range of table entries to point to an array of callable functions.

## Declaration

```swift
func setFunctions(_ functions: [(any MTLFunctionHandle)?], range: Range<Int>)
```

## Parameters

- `functions`: An array of function handles for the functions to be called.
- `range`: A range of indices to change in the table.

## See Also

### Setting a table entry

- [setFunction(_:index:)](metal/mtlvisiblefunctiontable/setfunction(_:index:).md)
