---
title: lighting
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowlevelmaterialresource/descriptor/lighting
---

# lighting

The lighting evaluation function.

## Declaration

```swift
var lighting: LowLevelMaterialResource.LightingFunction { get set }
```
