---
title: "computeCullingPlanes(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/lowlevelrenderer/camera/computecullingplanes(_:)"
---

# computeCullingPlanes(_:)

Computes the culling planes for this camera’s view volume, writing them to an output span.

## Declaration

```swift
func computeCullingPlanes(_ outPlanes: inout OutputSpan<LowLevelRenderer.CullConfiguration.Plane>)
```

## Parameters

- `outPlanes`: The span that receives the computed planes.

## Discussion

Discussion The planes are outward-facing: each plane’s normal points away from the visible region. The number of planes depends on the projection type — perspective cameras with a finite far plane produce six planes, and those with an infinite far plane produce five.

## See Also

### Computing culling planes

- [computeCullingPlanes()](realitykit/lowlevelrenderer/camera/computecullingplanes().md)
