---
title: sampleBuffer
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturesynchronizedsamplebufferdata/samplebuffer
---

# sampleBuffer

The depth data captured at this synchronization point.

## Declaration

```swift
var sampleBuffer: CMSampleBuffer { get }
```

## Discussion

Discussion Note that if the sampleBufferWasDropped property is true, this CMSampleBuffer object does not contain pixel data (instead, it contains only metadata). This value is equivalent to that provided by the captureOutput(_:didOutput:from:) or captureOutput(_:didDrop:from:) delegate method when using a video data output without a data output synchronizer.
