OpenSceneGraph 3.6.5
|
Simple resolution structure used by WindowingSystemInterface to get and set screen resolution. More...
#include <GraphicsContext>
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. | |
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'.
|
inline |
References colorDepth, height, refreshRate, and width.
|
inline |
References colorDepth, height, refreshRate, and width.
unsigned int osg::GraphicsContext::ScreenSettings::colorDepth |
RGB(A) color buffer depth.
Referenced by ScreenSettings(), and ScreenSettings().
int osg::GraphicsContext::ScreenSettings::height |
double osg::GraphicsContext::ScreenSettings::refreshRate |
Screen refresh rate, in Hz.
Referenced by ScreenSettings(), ScreenSettings(), and osg::GraphicsContext::WindowingSystemInterface::setScreenRefreshRate().
int osg::GraphicsContext::ScreenSettings::width |
![]() | Generated at Sun Jul 20 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0. |