OpenSceneGraph  3.5.1
Public Member Functions | Public Attributes | List of all members
osg::GraphicsContext::ScreenSettings Struct Reference

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. More...
 
unsigned int colorDepth
 RGB(A) color buffer depth. More...
 

Detailed Description

Simple resolution structure used by WindowingSystemInterface to get and set screen resolution.

Note the '0' value stands for 'unset'.

Constructor & Destructor Documentation

osg::GraphicsContext::ScreenSettings::ScreenSettings ( )
inline
osg::GraphicsContext::ScreenSettings::ScreenSettings ( int  width,
int  height,
double  refreshRate = 0,
unsigned int  colorDepth = 0 
)
inline

Member Data Documentation

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.

int osg::GraphicsContext::ScreenSettings::width

The documentation for this struct was generated from the following file:

osg logo
Generated at Wed Nov 11 2015 22:14:34 for the OpenSceneGraph by doxygen 1.8.10.