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

Collaboration diagram for osg::GraphicsContext::ScreenSettings:
Collaboration graph
[legend]

Public Member Functions

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


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