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

# label

An optional label you can assign to the command allocator to aid debugging.

## Declaration

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