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

# label

An optional name for the input/output command buffer.

## Declaration

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

## See Also

### Debugging a command buffer

- [pushDebugGroup(_:)](metal/mtliocommandbuffer/pushdebuggroup(_:).md)
- [popDebugGroup()](metal/mtliocommandbuffer/popdebuggroup().md)
