FUNCTIONS GT

GTI_SCREENDEPTH

Return the number of color bits of the window

Syntax

Signature
GtInfo( GTI_SCREENDEPTH ) --> nBits

Arguments

GTI_SCREENDEPTH

The selector, from gtinfo.ch.

Return value

The bits per pixel of the window. The xDev graphics drivers return 32.

Description

The window keeps 24-bit colors, so every color 0xRRGGBB is shown exactly.

Notes

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

Output

See also