Instance Property

surface

An IOSurface object containing the image data to be processed.

Required.

Declaration

var surface: IOSurfaceRef { get }

Discussion

Use this property if you plan to process the image using routines that can make use of memory shared with other processes or technologies.

Do not modify the contents of this surface.

See Also

Accessing Input Image Data

var baseAddress: UnsafeRawPointer

A pointer to the image data in CPU memory to be processed.

Required.

var metalTexture: MTLTexture?

A Metal texture containing the image data to be processed.

Required.

var pixelBuffer: CVPixelBuffer?

A CoreVideo pixel buffer containing the image data to be processed.

Required.

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