---
title: "setVertexVisibleFunctionTables:withBufferRange:"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtlrendercommandencoder/setvertexvisiblefunctiontables:withbufferrange:"
---

# setVertexVisibleFunctionTables:withBufferRange:

Assigns multiple visible function tables to a range of entries in the vertex shader argument table.

## Declaration

```occ
- (void) setVertexVisibleFunctionTables:(id<MTLVisibleFunctionTable> const[]) functionTables withBufferRange:(NSRange) range;
```

## Parameters

- `functionTables`: A pointer to a C array of doc://com.apple.metal/documentation/Metal/MTLVisibleFunctionTable instances the command assigns to entries in the vertex shader argument table for visible function tables.
- `range`: A span of integers that represent the entries in the vertex shader argument table for visible function tables. Each entry stores a record of the corresponding element in functionTables.

## Discussion

Discussion By default, the visible function table at each index is nil. note: The Swift version of this method is setVertexVisibleFunctionTables(_:bufferRange:).

## See Also

### Assigning visible function tables

- [setVertexVisibleFunctionTable(_:bufferIndex:)](metal/mtlrendercommandencoder/setvertexvisiblefunctiontable(_:bufferindex:).md)
