Pyrogenesis  trunk
Functions
gfx Namespace Reference

Functions

std::wstring CardName ()
 
std::wstring DriverInfo ()
 
size_t MemorySizeMiB ()
 not implemented More...
 
LIB_API Status GetVideoMode (int *xres, int *yres, int *bpp, int *freq)
 (useful for choosing a new video mode) More...
 
LIB_API Status GetMonitorSize (int &width_mm, int &height_mm)
 (useful for determining aspect ratio) More...
 

Function Documentation

LIB_API std::wstring gfx::CardName ( )
Returns
description of graphics card, or L"" if unknown.
LIB_API std::wstring gfx::DriverInfo ( )
Returns
string describing the graphics driver and its version, or L"" if unknown.
Status gfx::GetMonitorSize ( int &  width_mm,
int &  height_mm 
)

(useful for determining aspect ratio)

Parameters
width_mm(out) screen width [mm]
height_mm(out) screen height [mm]
Returns
Status (if if negative, outputs were left unchanged)
Status gfx::GetVideoMode ( int *  xres,
int *  yres,
int *  bpp,
int *  freq 
)

(useful for choosing a new video mode)

Parameters
xres,yres(optional out) resolution [pixels]
bpp(optional out) bits per pixel
freq(optional out) vertical refresh rate [Hz]
Returns
Status (if negative, outputs were left unchanged)
LIB_API size_t gfx::MemorySizeMiB ( )

not implemented