<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLBlitPassSampleBufferAttachmentDescriptorArray",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLBlitPassSampleBufferAttachmentDescriptorArray"
  },
  "title" : "MTLBlitPassSampleBufferAttachmentDescriptorArray"
}
-->

# MTLBlitPassSampleBufferAttachmentDescriptorArray

A container that stores an array of sample buffer attachments for a blit pass.

```
class MTLBlitPassSampleBufferAttachmentDescriptorArray
```

## Overview

The number of elements in the array is at least the number of elements in an [`MTLDevice`](/documentation/Metal/MTLDevice) instance’s [`counterSets`](/documentation/Metal/MTLDevice/counterSets) property.

## Topics

### Accessing a sample buffer attachment descriptor

[`subscript(_:)`](/documentation/Metal/MTLBlitPassSampleBufferAttachmentDescriptorArray/subscript(_:))

Accesses one of the array’s blit pass sample buffer attachment descriptor instances.

[`setObject:atIndexedSubscript:`](/documentation/Metal/MTLBlitPassSampleBufferAttachmentDescriptorArray/setObject:atIndexedSubscript:)

Copies the properties of a blit pass sample buffer attachment descriptor instance to the properties of one of the array’s instances.



---

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)