<!--
{
  "availability" : [
    "macOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CompositorServices",
  "identifier" : "/documentation/CompositorServices/LayerRendererConfigurationError/unsupportedForwardDepthRange",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Compositor Services"
    ],
    "preciseIdentifier" : "s:18CompositorServices31LayerRendererConfigurationErrorO28unsupportedForwardDepthRangeyA2CmF"
  },
  "title" : "LayerRendererConfigurationError.unsupportedForwardDepthRange"
}
-->

# LayerRendererConfigurationError.unsupportedForwardDepthRange

An error that indicates the depth range values aren’t in reverse-z order.

```
case unsupportedForwardDepthRange
```

## Discussion

When you set the [`depthRange`](/documentation/CompositorServices/LayerRenderer/Drawable/depthRange) property, make sure the first value in your vector contains the value for the far plane. In addition, make sure the distance to the far plane is greater than the distance to the near plane.

---

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)