Instance Property

baseAddress

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

Required.

Declaration

var baseAddress: UnsafeMutableRawPointer { get }

Discussion

Use this property if you process the image using a CPU-based routine that cannot make use of higher-level constructs for sharing memory.

See Also

Providing Output Image Data

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.

var surface: IOSurfaceRef

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

Required.