---
title: depthData
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/ciimage/depthdata
---

# depthData

Depth data associated with the image.

## Declaration

```swift
var depthData: AVDepthData? { get }
```

## Discussion

Discussion Returns an AVDepthData if the CIImage was created with imageWithData: or imageWithContentsOfURL: and one of the options auxiliaryDepth or auxiliaryDisparity, otherwise nil.

## See Also

### Accessing Original Image Content

- [cgImage](coreimage/ciimage/cgimage.md)
- [pixelBuffer](coreimage/ciimage/pixelbuffer.md)
- [portraitEffectsMatte](coreimage/ciimage/portraiteffectsmatte.md)
- [semanticSegmentationMatte](coreimage/ciimage/semanticsegmentationmatte.md)
