ScreenModeDepth()

Syntax

Depth = ScreenModeDepth()
Description
Returns the depth of the current screenmode listed with ExamineScreenModes() and NextScreenMode() functions.

Parameters

None.

Return value

The depth of the current listed screenmode. Depth can be either 8, 15, 16, 24 or 32-bit depending on the graphic card.

See Also

ExamineScreenModes(), NextScreenMode(), ScreenModeWidth(), ScreenModeHeight(), ScreenModeRefreshRate()

Supported OS

All

<- ScreenID() - Screen Index - ScreenModeHeight() ->