<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/ImageRequestHandler/init(_:depthData:orientation:)-3ebxg",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision19ImageRequestHandlerC_9depthData11orientationACSo11CVBufferRefa_So07AVDepthF0CSgSo26CGImagePropertyOrientationVSgtcfc"
  },
  "title" : "init(_:depthData:orientation:)"
}
-->

# init(_:depthData:orientation:)

Creates a handler for performing requests on a Core Video pixel buffer.

```
convenience init(_ pixelBuffer: CVPixelBuffer, depthData: AVDepthData? = nil, orientation: CGImagePropertyOrientation? = nil)
```

---

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)