---
title: MTLAttributeDescriptorArray
framework: metal
role: symbol
role_heading: Class
path: metal/mtlattributedescriptorarray
---

# MTLAttributeDescriptorArray

An array of attribute descriptor objects.

## Declaration

```swift
class MTLAttributeDescriptorArray
```

## Overview

Overview An MTLAttributeDescriptorArray defines the data format and index binding for the attribute argument table, using MTLAttributeDescriptor instances.

## Topics

### Accessing attribute state objects

- [subscript(_:)](metal/mtlattributedescriptorarray/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

### Configuring compute pass inputs

- [stageInputDescriptor](metal/mtlcomputepipelinedescriptor/stageinputdescriptor.md)
- [MTLAttributeDescriptor](metal/mtlattributedescriptor.md)
- [MTLBufferLayoutDescriptor](metal/mtlbufferlayoutdescriptor.md)
- [MTLBufferLayoutDescriptorArray](metal/mtlbufferlayoutdescriptorarray.md)
