Warning: This site is under construction, most links will be broken.

LightX API -> lxgfx -> get_bpp

Last modified on Thu, 29th Mar 2007 at 10:53 UTC by zipplet

lxgfx.get_bpp


function get_bpp: longint;


Returns the bit depth of the current display mode (primary surface). Please use the BPP constants (LX_BPP_16BPP, LX_BPP_32BPP) to check the return value. The return value is only valid after a successful call to lxgfx.initgraphics.

Class: lxgfx