computeCullingPlanes(_:)
Computes the culling planes for this camera’s view volume, writing them to an output span.
Declaration
func computeCullingPlanes(_ outPlanes: inout OutputSpan<LowLevelRenderer.CullConfiguration.Plane>)Parameters
- outPlanes:
The span that receives the computed 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 cameras with a finite far plane produce six planes, and those with an infinite far plane produce five.