---
title: name
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlattribute/name
---

# name

The name of the attribute.

## Declaration

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

## See Also

### Reading an attribute’s properties

- [attributeIndex](metal/mtlattribute/attributeindex.md)
- [attributeType](metal/mtlattribute/attributetype.md)
- [isActive](metal/mtlattribute/isactive.md)
- [isPatchControlPointData](metal/mtlattribute/ispatchcontrolpointdata.md)
- [isPatchData](metal/mtlattribute/ispatchdata.md)
