---
title: "makeRenderPipelineState(descriptor:)"
framework: RealityKit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "realitykit/lowlevelrendercontextstandalone/makerenderpipelinestate(descriptor:)-9x6v9"
---

# makeRenderPipelineState(descriptor:)

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

## Declaration

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

## Parameters

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

## Return Value

Return Value A compiled LowLevelRenderPipelineState.

## Discussion

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. note: An error if pipeline compilation fails.
