<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelRenderer/Resources/init(configuration:renderContext:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer08LowLevelC0C9ResourcesV13configuration13renderContextAeC13ConfigurationV_AA0de6RenderI0_ptYaKcfc"
  },
  "title" : "init(configuration:renderContext:)"
}
-->

# init(configuration:renderContext:)

Asynchronously compiles all shader and pipeline resources for the given configuration
and render context.

```
nonisolated(nonsending) init(configuration: LowLevelRenderer.Configuration, renderContext: any LowLevelRenderContext) async throws
```

## Parameters

`configuration`

The renderer configuration that determines which pipelines to compile.

`renderContext`

The render context that provides the Metal device and factory methods.

## Discussion> Throws: An error if shader or pipeline compilation fails.

---

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)