Contents

depth

The current bit depth and colorspace information of the screen.

Declaration

var depth: NSWindow.Depth { get }

Discussion

This value cannot be used directly. You must pass it to a function such as bitsPerPixel or colorSpaceName to obtain a concrete value for the desired information.

See Also

Getting Screen Information