<!--
{
  "availability" : [
    "macOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CompositorServices",
  "identifier" : "/documentation/CompositorServices/cp_layer_renderer_configuration_error_code",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Compositor Services"
    ],
    "preciseIdentifier" : "c:@E@cp_layer_renderer_configuration_error_code"
  },
  "title" : "cp_layer_renderer_configuration_error_code"
}
-->

# cp_layer_renderer_configuration_error_code

Errors that can occur during layer configuration.

```
enum cp_layer_renderer_configuration_error_code : CFIndex;
```

## Topics

### Getting the configuration errors

[`cp_layer_renderer_configuration_error_code_layout_not_supported`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_layout_not_supported)

An error that indicates the configuration’s current layout value is invalid.

[`cp_layer_renderer_configuration_error_code_missing_configuration`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_missing_configuration)

An error that indicates the system didn’t find a default layer configuration.

[`cp_layer_renderer_configuration_error_code_not_enough_frames_requested`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_not_enough_frames_requested)

An error that indicates not enough frames are available for rendering.

[`cp_layer_renderer_configuration_error_code_temporal_anti_aliasing_not_supported`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_temporal_anti_aliasing_not_supported)

An error that occurs when you try to enable temporal anti-aliasing but the current configuration parameters don’t support it.

[`cp_layer_renderer_configuration_error_code_too_many_frames_requested`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_too_many_frames_requested)

An error that indicates your app requested too many frames for rendering.

[`cp_layer_renderer_configuration_error_code_unsupported_forward_depth_range`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_unsupported_forward_depth_range)

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

[`cp_layer_renderer_configuration_error_code_unsupported_near_plane_distance`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_unsupported_near_plane_distance)

An error that indicates the near plane of the client is closer than the minimum supported distance.

[`cp_layer_renderer_configuration_error_code_variable_rasterization_rate_is_not_supported`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_variable_rasterization_rate_is_not_supported)

An error that indicates foveation is enabled but not supported.

[`cp_layer_renderer_configuration_error_code_unsupported_color_format`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_unsupported_color_format)

An error that indicates the system doesn’t support the specified color format choice.

[`cp_layer_renderer_configuration_error_code_unsupported_color_usage`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_unsupported_color_usage)

An error that indicates the system doesn’t support the specified color usage option.

[`cp_layer_renderer_configuration_error_code_unsupported_depth_format`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_unsupported_depth_format)

An error that indicates the system doesn’t support the specified depth format choice.

[`cp_layer_renderer_configuration_error_code_unsupported_depth_usage`](/documentation/CompositorServices/cp_layer_renderer_configuration_error_code/cp_layer_renderer_configuration_error_code_unsupported_depth_usage)

An error that indicates the system doesn’t support the specified depth usage choice.



---

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)