---
title: label
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4compilerdescriptor/label
---

# label

Assigns an optional descriptor label to the compiler for debugging purposes.

## Declaration

```swift
var label: String? { get set }
```
