Instance Property

depthData

AVDepthData representation of the depth image.

Declaration

var depthData: AVDepthData? { get }

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

var cgImage: CGImage?

The CoreGraphics image object this image was created from, if applicable.

var pixelBuffer: CVPixelBuffer?

The CoreVideo pixel buffer this image was created from, if applicable.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software