OpenSceneGraph
3.0.1
|
Callback to be implemented to provide access to Windowing API's ability to create Windows/pbuffers. More...
Public Member Functions | |
virtual unsigned int | getNumScreens (const ScreenIdentifier &screenIdentifier=ScreenIdentifier())=0 |
virtual void | getScreenSettings (const ScreenIdentifier &screenIdentifier, ScreenSettings &resolution)=0 |
virtual bool | setScreenSettings (const ScreenIdentifier &, const ScreenSettings &) |
virtual void | enumerateScreenSettings (const ScreenIdentifier &screenIdentifier, ScreenSettingsList &resolutionList)=0 |
virtual GraphicsContext * | createGraphicsContext (Traits *traits)=0 |
virtual | ~WindowingSystemInterface () |
void | getScreenResolution (const ScreenIdentifier &screenIdentifier, unsigned int &width, unsigned int &height) |
Gets screen resolution without using the ScreenResolution structure. | |
bool | setScreenResolution (const ScreenIdentifier &screenIdentifier, unsigned int width, unsigned int height) |
Sets screen resolution without using the ScreenSettings structure. | |
bool | setScreenRefreshRate (const ScreenIdentifier &screenIdentifier, double refreshRate) |
Callback to be implemented to provide access to Windowing API's ability to create Windows/pbuffers.
virtual osg::GraphicsContext::WindowingSystemInterface::~WindowingSystemInterface | ( | ) | [inline, virtual] |
virtual GraphicsContext* osg::GraphicsContext::WindowingSystemInterface::createGraphicsContext | ( | Traits * | traits | ) | [pure virtual] |
virtual void osg::GraphicsContext::WindowingSystemInterface::enumerateScreenSettings | ( | const ScreenIdentifier & | screenIdentifier, |
ScreenSettingsList & | resolutionList | ||
) | [pure virtual] |
virtual unsigned int osg::GraphicsContext::WindowingSystemInterface::getNumScreens | ( | const ScreenIdentifier & | screenIdentifier = ScreenIdentifier() | ) | [pure virtual] |
void osg::GraphicsContext::WindowingSystemInterface::getScreenResolution | ( | const ScreenIdentifier & | screenIdentifier, |
unsigned int & | width, | ||
unsigned int & | height | ||
) | [inline] |
Gets screen resolution without using the ScreenResolution structure.
References osg::GraphicsContext::ScreenSettings::width, and osg::GraphicsContext::ScreenSettings::height.
virtual void osg::GraphicsContext::WindowingSystemInterface::getScreenSettings | ( | const ScreenIdentifier & | screenIdentifier, |
ScreenSettings & | resolution | ||
) | [pure virtual] |
bool osg::GraphicsContext::WindowingSystemInterface::setScreenRefreshRate | ( | const ScreenIdentifier & | screenIdentifier, |
double | refreshRate | ||
) | [inline] |
References osg::GraphicsContext::ScreenSettings::refreshRate.
bool osg::GraphicsContext::WindowingSystemInterface::setScreenResolution | ( | const ScreenIdentifier & | screenIdentifier, |
unsigned int | width, | ||
unsigned int | height | ||
) | [inline] |
Sets screen resolution without using the ScreenSettings structure.
virtual bool osg::GraphicsContext::WindowingSystemInterface::setScreenSettings | ( | const ScreenIdentifier & | , |
const ScreenSettings & | |||
) | [inline, virtual] |
![]() | Generated at Mon Oct 3 2011 12:39:42 for the OpenSceneGraph by doxygen 1.7.5. |