OpenSceneGraph  3.0.1
Public Member Functions | Public Attributes
osg::GraphicsContext::Traits Struct Reference

GraphicsContext Traits object provides the specification of what type of graphics context is required. More...

Inheritance diagram for osg::GraphicsContext::Traits:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Traits (DisplaySettings *ds=0)

Public Attributes

int x
int y
int width
int height
std::string windowName
bool windowDecoration
bool supportsResize
unsigned int red
unsigned int blue
unsigned int green
unsigned int alpha
unsigned int depth
unsigned int stencil
unsigned int sampleBuffers
unsigned int samples
bool pbuffer
bool quadBufferStereo
bool doubleBuffer
GLenum target
GLenum format
unsigned int level
unsigned int face
unsigned int mipMapGeneration
bool vsync
bool swapGroupEnabled
GLuint swapGroup
GLuint swapBarrier
bool useMultiThreadedOpenGLEngine
bool useCursor
std::string glContextVersion
unsigned int glContextFlags
unsigned int glContextProfileMask
GraphicsContextsharedContext
osg::ref_ptr< osg::ReferencedinheritedWindowData
bool setInheritedWindowPixelFormat
bool overrideRedirect
DisplaySettings::SwapMethod swapMethod

Detailed Description

GraphicsContext Traits object provides the specification of what type of graphics context is required.


Constructor & Destructor Documentation

osg::GraphicsContext::Traits::Traits ( DisplaySettings ds = 0)

Member Data Documentation


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

osg logo
Generated at Mon Oct 3 2011 12:39:42 for the OpenSceneGraph by doxygen 1.7.5.