FUNCTIONS GT

GTI_DESKTOPDEPTH

Return the number of color bits of the desktop

Syntax

Signature
GtInfo( GTI_DESKTOPDEPTH ) --> nBits

Arguments

GTI_DESKTOPDEPTH

The selector, from gtinfo.ch.

Return value

The bits per pixel of the display, usually 32.

Description

GTI_SCREENDEPTH gives the same value for the window of the program.

Notes

Supported by GTWVT, GTSDL3, GTXWC and GTGLFW. On other terminals the result is NIL.

Output

See also