---
title: "makeMaterialResource(descriptor:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/lowlevelrendercontext/makematerialresource(descriptor:)"
---

# makeMaterialResource(descriptor:)

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

## Declaration

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