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

# label

An optional name that can help you identify the residency set.

## Declaration

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

## Discussion

Discussion The value of this property comes from the label property of the MTLResidencySetDescriptor instance you use to create the residency set with makeResidencySet(descriptor:).

## See Also

### Inspecting a residency set

- [device](metal/mtlresidencyset/device.md)
- [containsAllocation(_:)](metal/mtlresidencyset/containsallocation(_:).md)
- [allAllocations](metal/mtlresidencyset/allallocations.md)
- [allocationCount](metal/mtlresidencyset/allocationcount.md)
- [allocatedSize](metal/mtlresidencyset/allocatedsize.md)
