Contents

colorMatrix

A color matrix to apply to the output surface.

Declaration

unowned(unsafe) var colorMatrix: CFString { get set }

Discussion

You can specify a value for this property if your pixel format is 420v or 420f. The value must be one of the strings specified in doc://com.apple.documentation/documentation/coregraphics/display-stream-ycbcr-to-rgb-conversion-matrix-options.

See Also

Configuring colors