Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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...
 
Status GetMonitorSize (int *xres, int *yres, int *bpp, int *freq)
 

Function Documentation

LIB_API std::wstring gfx::CardName ( )
Returns
description of graphics card, or L"" if unknown.

Definition at line 41 of file gfx.cpp.

LIB_API std::wstring gfx::DriverInfo ( )
Returns
string describing the graphics driver and its version, or L"" if unknown.

Definition at line 70 of file gfx.cpp.

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)

Definition at line 197 of file wgfx.cpp.

Status gfx::GetMonitorSize ( int *  xres,
int *  yres,
int *  bpp,
int *  freq 
)

Definition at line 130 of file osx.cpp.

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)

Definition at line 47 of file android.cpp.

LIB_API size_t gfx::MemorySizeMiB ( )

not implemented

Definition at line 93 of file gfx.cpp.