---
title: sampleBufferAttachments
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlblitpassdescriptor/samplebufferattachments
---

# sampleBufferAttachments

An array of counter sample buffer attachments that you configure for a blit pass.

## Declaration

```swift
var sampleBufferAttachments: MTLBlitPassSampleBufferAttachmentDescriptorArray { get }
```

## Discussion

Discussion See Sampling GPU data into counter sample buffers for more context about configuring this property. That article is one of a series of articles in GPU counters and counter sample buffers.
