<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelRenderer/Camera/computeCullingPlanes(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer08LowLevelC0C6CameraV20computeCullingPlanesyys10OutputSpanVyAC17CullConfigurationV5PlaneVGzF"
  },
  "title" : "computeCullingPlanes(_:)"
}
-->

# computeCullingPlanes(_:)

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

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

## Parameters

`outPlanes`

The span that receives the computed planes. Must have room for at
least six planes.

## 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: six planes, or five when the far plane is at infinity (the far plane is omitted).
- Orthographic: always six planes.
- Custom: four to six planes, omitting the near and/or far plane when it is degenerate.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)