<!--
{
  "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" : "MetalKit",
  "identifier" : "/documentation/MetalKit/MTKMesh/vertexDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetalKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MTKMesh(py)vertexDescriptor"
  },
  "title" : "vertexDescriptor"
}
-->

# vertexDescriptor

A Model I/O vertex descriptor specifying the data layout in the vertex buffers.

```
var vertexDescriptor: MDLVertexDescriptor { get }
```

## Discussion

This is a convenience property. The [`MTKMesh`](/documentation/MetalKit/MTKMesh) class does not use this descriptor, but your application may use this object to determine rendering state or create a <doc://com.apple.documentation/documentation/Metal/MTLVertexDescriptor> object to build a <doc://com.apple.documentation/documentation/Metal/MTLRenderPipelineState> object capable of interpreting the data in [`vertexBuffers`](/documentation/MetalKit/MTKMesh/vertexBuffers).

---

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)