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

# setTileIntersectionFunctionTables:withBufferRange:

Assigns multiple intersection function tables to a range of entries in the tile shader argument table.

## Declaration

```occ
- (void) setTileIntersectionFunctionTables:(id<MTLIntersectionFunctionTable> const[]) intersectionFunctionTables withBufferRange:(NSRange) range;
```

## Parameters

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

## Discussion

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

## See Also

### Assigning intersection function tables

- [setTileIntersectionFunctionTable(_:bufferIndex:)](metal/mtlrendercommandencoder/settileintersectionfunctiontable(_:bufferindex:).md)
