ClanSoft logo
ClanSoft logo

    CL_VidMode

Video mode class.

Description

This class is used to describe a videomode in ClanLib.

CL_VidMode is returned from a display card when a list of video modes are requested by a call to CL_DisplayCard::get_videomodes().

Note that not all display implementations can give you a list of supported modes. If none are requested, you can select whatever mode you want. This usually happens when the implementation runs in a window and that there's no such thing as a video mode.

Class members

int width
int height
int bpp
bool mode_x
CL_VidMode( int width, int height, int bpp, bool mode_x=false)
std::string asString()

See Also

None


Back to index



This page was built using the Perceps documentation system.