---
title: "setOpaqueTriangleIntersectionFunction(signature:range:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtlintersectionfunctiontable/setopaquetriangleintersectionfunction(signature:range:)"
---

# setOpaqueTriangleIntersectionFunction(signature:range:)

Sets a range of entries in the intersection table to point to a system-defined opaque triangle intersection function.

## Declaration

```swift
func setOpaqueTriangleIntersectionFunction(signature: MTLIntersectionFunctionSignature, range: NSRange)
```

## Parameters

- `signature`: The signature of the function.
- `range`: A range of indices to change in the table.

## See Also

### Specifying opaque triangle intersection testing

- [setOpaqueTriangleIntersectionFunction(signature:index:)](metal/mtlintersectionfunctiontable/setopaquetriangleintersectionfunction(signature:index:).md)
