Instance Property

surface

An IOSurface object to which you can write output pixel data.

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.

See Also

Providing Output Image Data

var baseAddress: UnsafeMutableRawPointer

A pointer to CPU memory at which to write output pixel data.

Required.

var metalTexture: MTLTexture?

A Metal texture to which you can write output pixel data.

Required.

var pixelBuffer: CVPixelBuffer?

A CoreVideo pixel buffer to which you can write output pixel data.

Required.