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

# label

Provides the optional label you specify at creation time for debug purposes.

## Declaration

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