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

# label

A string that identifies the counter sample buffer.

## Declaration

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

## 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.

## See Also

### Inspecting the counter sample buffer’s configuration

- [device](metal/mtlcountersamplebuffer/device.md)
- [sampleCount](metal/mtlcountersamplebuffer/samplecount.md)
