<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLRenderPipelineDescriptor/vertexDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLRenderPipelineDescriptor(py)vertexDescriptor"
  },
  "title" : "vertexDescriptor"
}
-->

# vertexDescriptor

The organization of vertex data in an attribute’s argument table.

```
@NSCopying var vertexDescriptor: MTLVertexDescriptor? { get set }
```

## Discussion

An [`MTLVertexDescriptor`](/documentation/Metal/MTLVertexDescriptor) instance is used to describe the organization of per-vertex input structs passed in an argument of a vertex shader function.

---

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)