OpenSceneGraph
3.4.0
|
GraphicsContext Traits object provides the specification of what type of graphics context is required. More...
Public Member Functions | |
Traits (DisplaySettings *ds=0) | |
bool | getContextVersion (unsigned int &major, unsigned int &minor) const |
return true if glContextVersion is set in the form major.minor, and assign the appropriate major and minor values to the associated parameters. | |
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 |
osg::observer_ptr < GraphicsContext > | sharedContext |
osg::ref_ptr< osg::Referenced > | inheritedWindowData |
bool | setInheritedWindowPixelFormat |
bool | overrideRedirect |
DisplaySettings::SwapMethod | swapMethod |
GraphicsContext Traits object provides the specification of what type of graphics context is required.
osg::GraphicsContext::Traits::Traits | ( | DisplaySettings * | ds = 0 | ) |
bool osg::GraphicsContext::Traits::getContextVersion | ( | unsigned int & | major, |
unsigned int & | minor | ||
) | const |
return true if glContextVersion is set in the form major.minor, and assign the appropriate major and minor values to the associated parameters.
unsigned int osg::GraphicsContext::Traits::alpha |
unsigned int osg::GraphicsContext::Traits::blue |
unsigned int osg::GraphicsContext::Traits::depth |
unsigned int osg::GraphicsContext::Traits::face |
unsigned int osg::GraphicsContext::Traits::glContextFlags |
unsigned int osg::GraphicsContext::Traits::glContextProfileMask |
std::string osg::GraphicsContext::Traits::glContextVersion |
unsigned int osg::GraphicsContext::Traits::green |
Referenced by osgViewer::GraphicsWindowEmbedded::GraphicsWindowEmbedded().
unsigned int osg::GraphicsContext::Traits::level |
unsigned int osg::GraphicsContext::Traits::mipMapGeneration |
unsigned int osg::GraphicsContext::Traits::red |
unsigned int osg::GraphicsContext::Traits::sampleBuffers |
unsigned int osg::GraphicsContext::Traits::samples |
Referenced by osgViewer::GraphicsWindowEmbedded::init().
unsigned int osg::GraphicsContext::Traits::stencil |
Referenced by osgViewer::GraphicsWindowEmbedded::GraphicsWindowEmbedded().
std::string osg::GraphicsContext::Traits::windowName |
Referenced by osgViewer::GraphicsWindowEmbedded::GraphicsWindowEmbedded().
Referenced by osgViewer::GraphicsWindowEmbedded::GraphicsWindowEmbedded().
![]() | Generated at Tue Dec 8 2015 00:16:42 for the OpenSceneGraph by doxygen 1.7.6.1. |