osg::GraphicsContext::ScreenSettings Struct Reference

List of all members.

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.


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

RGB(A) color buffer depth.


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

Generated on Sat Mar 20 12:33:57 2010 for openscenegraph by  doxygen 1.5.6