---
title: "makeSimpleSurfaceShader(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/makesimplesurfaceshader(descriptor:)-3f0mt"
---

# makeSimpleSurfaceShader(descriptor:)

Asynchronously creates a simple surface shader using a built-in tint color or texture implementation, as described by the given descriptor.

## Declaration

```swift
nonisolated(nonsending) final func makeSimpleSurfaceShader(descriptor: LowLevelMaterialResource.SimpleSurfaceDescriptor) async throws -> sending LowLevelMaterialResource.SurfaceShader
```

## Parameters

- `descriptor`: The combination of tint color, texture, output channel, and opacity flags.

## Return Value

Return Value A compiled LowLevelMaterialResource.SurfaceShader.

## Discussion

Discussion note: An error if shader compilation fails.
