OSG
3.4.0
|
#include <GraphicsContext.h>
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. 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'.
Definition at line 146 of file GraphicsContext.h.
|
inline |
Definition at line 147 of file GraphicsContext.h.
|
inline |
Definition at line 153 of file GraphicsContext.h.
unsigned int osg::GraphicsContext::ScreenSettings::colorDepth |
RGB(A) color buffer depth.
Definition at line 163 of file GraphicsContext.h.
int osg::GraphicsContext::ScreenSettings::height |
Definition at line 161 of file GraphicsContext.h.
double osg::GraphicsContext::ScreenSettings::refreshRate |
Screen refresh rate, in Hz.
Definition at line 162 of file GraphicsContext.h.
int osg::GraphicsContext::ScreenSettings::width |
Definition at line 160 of file GraphicsContext.h.