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

# init(configuration:resources:)

Creates a standalone render context using resources prepared ahead of time.

```
init(configuration: LowLevelRenderContextStandalone.Configuration, resources: LowLevelRenderContextStandalone.Resources) throws
```

## Parameters

`configuration`

The configuration for the new context.

`resources`

Prepared resources to use for this render context.

## Discussion

Prefer this overload when sharing the same resources across multiple render contexts.
To create a single context without prepared resources, use
[`init(configuration:)`](/documentation/RealityKit/LowLevelRenderContextStandalone/init(configuration:)) instead.

> Throws: ``doc://com.apple.RealityKit/documentation/RealityKit/LowLevelRenderContextError`` if the context cannot be created.

---

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)