---
title: MTLResourceStatePassSampleBufferAttachmentDescriptorArray
framework: metal
role: symbol
role_heading: Class
path: metal/mtlresourcestatepasssamplebufferattachmentdescriptorarray
---

# MTLResourceStatePassSampleBufferAttachmentDescriptorArray

An array of sample buffer attachments for a resource state pass.

## Declaration

```swift
class MTLResourceStatePassSampleBufferAttachmentDescriptorArray
```

## Topics

### Accessing a sample buffer attachment

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

### Sparse textures

- [Managing sparse texture memory](metal/managing-sparse-texture-memory.md)
- [Creating sparse heaps and sparse textures](metal/creating-sparse-heaps-and-sparse-textures.md)
- [Converting between pixel regions and sparse tile regions](metal/converting-between-pixel-regions-and-sparse-tile-regions.md)
- [Assigning memory to sparse textures](metal/assigning-memory-to-sparse-textures.md)
- [Reading and writing to sparse textures](metal/reading-and-writing-to-sparse-textures.md)
- [Estimating how often a texture region is accessed](metal/estimating-how-often-a-texture-region-is-accessed.md)
- [MTLResourceStatePassDescriptor](metal/mtlresourcestatepassdescriptor.md)
- [MTLResourceStatePassSampleBufferAttachmentDescriptor](metal/mtlresourcestatepasssamplebufferattachmentdescriptor.md)
- [MTLResourceStateCommandEncoder](metal/mtlresourcestatecommandencoder.md)
- [MTLMapIndirectArguments](metal/mtlmapindirectarguments.md)
