<!--
{
  "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/MTLVertexBufferLayoutDescriptorArray",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLVertexBufferLayoutDescriptorArray"
  },
  "title" : "MTLVertexBufferLayoutDescriptorArray"
}
-->

# MTLVertexBufferLayoutDescriptorArray

An array of vertex buffer layout descriptor instances.

```
class MTLVertexBufferLayoutDescriptorArray
```

## Overview

An [`MTLVertexBufferLayoutDescriptorArray`](/documentation/Metal/MTLVertexBufferLayoutDescriptorArray) holds an array of vertex buffer layout states. The methods of [`MTLVertexBufferLayoutDescriptorArray`](/documentation/Metal/MTLVertexBufferLayoutDescriptorArray) set the vertex buffer layout state in the array or retrieve the state from the array.

## Topics

### Accessing a specified vertex buffer layout

[`-  objectAtIndexedSubscript:`](/documentation/Metal/MTLVertexBufferLayoutDescriptorArray/subscript(_:))

Returns the state of the specified vertex buffer layout.

[`-  setObject:atIndexedSubscript:`](/documentation/Metal/MTLVertexBufferLayoutDescriptorArray/setObject:atIndexedSubscript:)

Sets the state of the specified vertex buffer layout.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)