<!--
{
  "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/init(resources:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer08LowLevelC0C9resourcesA2C9ResourcesV_tAA0deC5ErrorVYKcfc"
  },
  "title" : "init(resources:)"
}
-->

# init(resources:)

Creates a renderer using pre-compiled GPU resources.

```
init(resources: LowLevelRenderer.Resources) throws(LowLevelRendererError)
```

## Parameters

`resources`

Pre-compiled GPU resources for this renderer’s configuration.

## Discussion> Throws: An error if GPU buffer allocation 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)