---
title: name
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/custommaterial/postlightingshader/name
---

# name

The name of the post-lighting shader function.

## Declaration

```swift
var name: String
```

## Discussion

Discussion This is the name of the Metal function the custom material uses as its post-lighting shader The name needs to match the name of a Metal function in your Xcode project and can’t include parameters or parentheses.
