---
title: MTLVertexAttributeDescriptorArray
framework: metal
role: symbol
role_heading: Class
path: metal/mtlvertexattributedescriptorarray
---

# MTLVertexAttributeDescriptorArray

An array of vertex attribute descriptor instances.

## Declaration

```swift
class MTLVertexAttributeDescriptorArray
```

## Overview

Overview An MTLVertexAttributeDescriptorArray instance is an array of instances that defines how vertex attribute data is formatted and assigned to an index in the attribute argument table. The methods of MTLVertexAttributeDescriptorArray set or retrieve the attribute formatting information from the array.

## Topics

### Accessing a specified vertex attribute

- [subscript(_:)](metal/mtlvertexattributedescriptorarray/subscript(_:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Render pass inputs

- [MTLVertexDescriptor](metal/mtlvertexdescriptor.md)
- [MTLVertexAttributeDescriptor](metal/mtlvertexattributedescriptor.md)
- [MTLVertexBufferLayoutDescriptor](metal/mtlvertexbufferlayoutdescriptor.md)
- [MTLVertexBufferLayoutDescriptorArray](metal/mtlvertexbufferlayoutdescriptorarray.md)
- [MTLBufferLayoutStrideDynamic](metal/mtlbufferlayoutstridedynamic.md)
