<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelRenderContext/makeRenderPipelineState(descriptor:)-55ty6",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer21LowLevelRenderContextP04makeF13PipelineState10descriptorAA0defiJ0CAG10DescriptorV_tYaKF"
  },
  "title" : "makeRenderPipelineState(descriptor:)"
}
-->

# makeRenderPipelineState(descriptor:)

Asynchronously compiles a Metal render pipeline state from the given descriptor.

```
nonisolated(nonsending) func makeRenderPipelineState(descriptor: LowLevelRenderPipelineState.Descriptor) async throws -> sending LowLevelRenderPipelineState
```

## Parameters

`descriptor`

The mesh descriptor, material, render targets, and optional blending configuration.

## Return Value

A compiled [`LowLevelRenderPipelineState`](/documentation/RealityKit/LowLevelRenderPipelineState).

## Discussion

The descriptor’s mesh format, material, and render target configuration are baked
into the pipeline at compile time. Create pipeline states once and reuse them across frames.

> Throws: An error if 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)