<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureSynchronizedSampleBufferData/sampleBuffer",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureSynchronizedSampleBufferData(py)sampleBuffer"
  },
  "title" : "sampleBuffer"
}
-->

# sampleBuffer

The depth data captured at this synchronization point.

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

## Discussion

Note that if the [`sampleBufferWasDropped`](/documentation/AVFoundation/AVCaptureSynchronizedSampleBufferData/sampleBufferWasDropped) property is <doc://com.apple.documentation/documentation/Swift/true>, this <doc://com.apple.documentation/documentation/CoreMedia/CMSampleBuffer> object does not contain pixel data (instead, it contains only metadata).

This value is equivalent to that provided by the [`captureOutput(_:didOutput:from:)`](/documentation/AVFoundation/AVCaptureVideoDataOutputSampleBufferDelegate/captureOutput(_:didOutput:from:)) or [`captureOutput(_:didDrop:from:)`](/documentation/AVFoundation/AVCaptureVideoDataOutputSampleBufferDelegate/captureOutput(_:didDrop:from:)) delegate method when using a video data output without a data output synchronizer.

---

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)