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

# label

The name for the counter sample buffer you create with the descriptor.

## Declaration

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

## See Also

### Configuring a descriptor for a counter sample buffer

- [counterSet](metal/mtlcountersamplebufferdescriptor/counterset.md)
- [sampleCount](metal/mtlcountersamplebufferdescriptor/samplecount.md)
- [storageMode](metal/mtlcountersamplebufferdescriptor/storagemode.md)
