Instance Property

baseAddress

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

Required.

Declaration

var baseAddress: UnsafeRawPointer { get }

Discussion

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

Do not modify the memory addressed by this pointer.

See Also

Accessing Input Image Data

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.

var surface: IOSurfaceRef

An IOSurface object containing the image data to be processed.

Required.