![]() |
OpenSceneGraph
|
Simple resolution structure used by WindowingSystemInterface to get and set screen resolution. More...
Public Member Functions | |
ScreenSettings () | |
ScreenSettings (int in_width, int in_height, double in_refreshRate=0, unsigned int in_colorDepth=0) | |
Public Attributes | |
int | width |
int | height |
double | refreshRate |
Screen refresh rate, in Hz. More... | |
unsigned int | colorDepth |
RGB(A) color buffer depth. More... | |
Simple resolution structure used by WindowingSystemInterface to get and set screen resolution.
Note the '0' value stands for 'unset'.
|
inline |
|
inline |
unsigned int osg::GraphicsContext::ScreenSettings::colorDepth |
RGB(A) color buffer depth.
int osg::GraphicsContext::ScreenSettings::height |
double osg::GraphicsContext::ScreenSettings::refreshRate |
Screen refresh rate, in Hz.
Referenced by osg::GraphicsContext::WindowingSystemInterface::setScreenRefreshRate().
int osg::GraphicsContext::ScreenSettings::width |