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

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

§ ScreenSettings() [1/2]

osg::GraphicsContext::ScreenSettings::ScreenSettings ( )
inline

§ ScreenSettings() [2/2]

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

Member Data Documentation

§ colorDepth

unsigned int osg::GraphicsContext::ScreenSettings::colorDepth

RGB(A) color buffer depth.

§ height

int osg::GraphicsContext::ScreenSettings::height

§ refreshRate

double osg::GraphicsContext::ScreenSettings::refreshRate

Screen refresh rate, in Hz.

§ width

int osg::GraphicsContext::ScreenSettings::width

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