<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLVertexAttribute/name",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:objc(cs)MDLVertexAttribute(py)name"
  },
  "title" : "name"
}
-->

# name

An identifier for the semantic use of the vertex attribute.

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

## Discussion

Depending on the source of data for a mesh—that is, which file format it was loaded from in a [`MDLAsset`](/documentation/ModelIO/MDLAsset) object, or whether it was programmatically created—a vertex attribute’s name can be either one of the constants listed in [Vertex Attributes](/documentation/ModelIO/vertex-attributes) or an identifier specific to the file format.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)