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

# label

A string that identifies the heap.

## Declaration

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

## Discussion

Discussion Object and command labels are useful identifiers at runtime or when profiling and debugging your app using any Metal tool. See Naming resources and commands.
