OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
osg::GraphicsContext::ScreenSettings Struct Reference

#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...
 

Detailed Description

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.

Constructor & Destructor Documentation

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

Definition at line 147 of file GraphicsContext.h.

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

Definition at line 153 of file GraphicsContext.h.

Member Data Documentation

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.


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