<!--
{
  "availability" : [
    "visionOS: 1.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CompositorServices",
  "identifier" : "/documentation/CompositorServices/CompositorLayer/init(configuration:renderer:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Compositor Services",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:27_CompositorServices_SwiftUI0A5LayerV13configuration8renderer_AcA0aE13Configuration_p_ySo019CP_OBJECT_cp_layer_G0Ccyttcfc"
  },
  "title" : "init(configuration:renderer:_:)"
}
-->

# init(configuration:renderer:_:)

```
nonisolated init(configuration: any CompositorLayerConfiguration = .default, renderer: @escaping (LayerRenderer) -> Void, _ v1: Void = ())
```

---

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)