Color depths

From Bennu Wiki
Revision as of 08:47, 2 November 2009 by Dcelso (talk | contribs) (→‎List)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Definition

Color depths are used to specify the color depth of the screen, by passing one of them to the function set_mode() as the depth parameter.

See also graph_modes.

List

Constant - Value - Description
MODE_8BITS - 8 - Use a color depth of 8bit. Also called MODE_8BPP.
MODE_16BITS - 16 - Use a color depth of 16bit. Also called MODE_16BPP.
MODE_32BITS - 32 - Use a color depth of 32bit. Also called MODE_32BPP.