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

# cp_layer_renderer_configuration_t

A type that stores the texture formats, layout information, and other details you use to configure your rendering loop code.

```
typedef CP_OBJECT_cp_layer_renderer_configuration * cp_layer_renderer_configuration_t;
```

## Discussion

A [`cp_layer_renderer_configuration_t`](/documentation/CompositorServices/cp_layer_renderer_configuration_t) type stores the configuration options for your app’s `cp_layer_t` object. When configuring the content for your app’s immersive space, use this type to specify information about the texture layouts, pixel formats, and rendering options you want. The system uses the provided information to initialize the `cp_layer_t` object. It also uses the information to create the Metal textures and other data structures that you use for each frame of content.

You don’t create this type directly. When implementing the `makeConfiguration` method of your `CompositorConfiguration` type, the system passes a set of default configuration values for you to modify.

---

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)