Simple resolution structure used by WindowingSystemInterface to get and set screen resolution. More...
Public Member Functions | |
| ScreenSettings () | |
| ScreenSettings (int width, int height, double refreshRate=0, unsigned int colorDepth=0) | |
Public Attributes | |
| int | width |
| int | height |
| double | refreshRate |
| Screen refresh rate, in Hz. | |
| unsigned int | colorDepth |
| RGB(A) color buffer depth. | |
Simple resolution structure used by WindowingSystemInterface to get and set screen resolution.
Note the '0' value stands for 'unset'.
| osg::GraphicsContext::ScreenSettings::ScreenSettings | ( | ) | [inline] |
| osg::GraphicsContext::ScreenSettings::ScreenSettings | ( | int | width, | |
| int | height, | |||
| double | refreshRate = 0, |
|||
| unsigned int | colorDepth = 0 | |||
| ) | [inline] |
| unsigned int osg::GraphicsContext::ScreenSettings::colorDepth |
RGB(A) color buffer depth.
Screen refresh rate, in Hz.
Referenced by osg::GraphicsContext::WindowingSystemInterface::setScreenRefreshRate().
| Generated at Sat Jan 28 13:33:02 2012 for the OpenSceneGraph by doxygen 1.6.3. |