fg_colors()

Win32 DirectX Fastgraph/Light

Prototype

int fg_colors (void);

Function fg_colors () As Long

function fg_colors : integer;

Description

The fg_colors() function returns the display driver's color depth in bits per pixel.

Parameters

none

Return value

The display driver's color depth in bits per pixel. For example, a return value of 8 means the display driver is currently set to 8 bits per pixel, or 256 colors.

Restrictions

none

See also

fg_getdepth()

Examples

Colors, Columns, Cube, Display, Fade, FirstDD, Rainbow, TMcubeX, Tunnel

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.