cdGetScreenColorPlanes

Definition: include pGUI.e

integer p = cdGetScreenColorPlanes()
Description: Returns the number p, which defines the number of colors supported by the screen as 2p, representing the number of bits by pixel.
Comments: Currently Windows only, on other systems returns 0. [DEV]

Equivalent to function cdCanvasGetColorPlanes, but returns the value for the main screen of the window system.
It is not necessary to have an active canvas to call this function.