---
title: "makeMaterialResource(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/makematerialresource(descriptor:)-2qjge"
---

# makeMaterialResource(descriptor:)

Synchronous variant of makeMaterialResource(descriptor:). Blocks the current thread until compilation completes.

## Declaration

```swift
final func makeMaterialResource(descriptor: LowLevelMaterialResource.Descriptor) throws -> sending LowLevelMaterialResource
```
