<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIImage/depthData",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Image",
      "CoreImage"
    ],
    "preciseIdentifier" : "c:objc(cs)CIImage(py)depthData"
  },
  "title" : "depthData"
}
-->

# depthData

Depth data associated with the image.

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

## Discussion

Returns an <doc://com.apple.documentation/documentation/AVFoundation/AVDepthData> if the [`CIImage`](/documentation/CoreImage/CIImage) was created with [`imageWithData:`](/documentation/CoreImage/CIImage/imageWithData:) or [`imageWithContentsOfURL:`](/documentation/CoreImage/CIImage/imageWithContentsOfURL:) and one of the options [`auxiliaryDepth`](/documentation/CoreImage/CIImageOption/auxiliaryDepth) or [`auxiliaryDisparity`](/documentation/CoreImage/CIImageOption/auxiliaryDisparity), otherwise <doc://com.apple.documentation/documentation/ObjectiveC/nil-227m0>.

---

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)