#include <GraphicsContext>
GraphicsContext Traits object provides the specification of what type of graphics context is required.
◆ Traits()
◆ getContextVersion()
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.
◆ affinity
◆ alpha
unsigned int osg::GraphicsContext::Traits::alpha |
◆ blue
unsigned int osg::GraphicsContext::Traits::blue |
◆ depth
unsigned int osg::GraphicsContext::Traits::depth |
◆ doubleBuffer
bool osg::GraphicsContext::Traits::doubleBuffer |
◆ face
unsigned int osg::GraphicsContext::Traits::face |
◆ format
GLenum osg::GraphicsContext::Traits::format |
◆ glContextFlags
unsigned int osg::GraphicsContext::Traits::glContextFlags |
◆ glContextProfileMask
unsigned int osg::GraphicsContext::Traits::glContextProfileMask |
◆ glContextVersion
std::string osg::GraphicsContext::Traits::glContextVersion |
◆ green
unsigned int osg::GraphicsContext::Traits::green |
◆ height
int osg::GraphicsContext::Traits::height |
◆ inheritedWindowData
◆ level
unsigned int osg::GraphicsContext::Traits::level |
◆ mipMapGeneration
unsigned int osg::GraphicsContext::Traits::mipMapGeneration |
◆ overrideRedirect
bool osg::GraphicsContext::Traits::overrideRedirect |
◆ pbuffer
bool osg::GraphicsContext::Traits::pbuffer |
◆ quadBufferStereo
bool osg::GraphicsContext::Traits::quadBufferStereo |
◆ red
unsigned int osg::GraphicsContext::Traits::red |
◆ sampleBuffers
unsigned int osg::GraphicsContext::Traits::sampleBuffers |
◆ samples
unsigned int osg::GraphicsContext::Traits::samples |
◆ setInheritedWindowPixelFormat
bool osg::GraphicsContext::Traits::setInheritedWindowPixelFormat |
◆ sharedContext
◆ stencil
unsigned int osg::GraphicsContext::Traits::stencil |
◆ supportsResize
bool osg::GraphicsContext::Traits::supportsResize |
◆ swapBarrier
GLuint osg::GraphicsContext::Traits::swapBarrier |
◆ swapGroup
GLuint osg::GraphicsContext::Traits::swapGroup |
◆ swapGroupEnabled
bool osg::GraphicsContext::Traits::swapGroupEnabled |
◆ swapMethod
◆ target
GLenum osg::GraphicsContext::Traits::target |
◆ useCursor
bool osg::GraphicsContext::Traits::useCursor |
◆ useMultiThreadedOpenGLEngine
bool osg::GraphicsContext::Traits::useMultiThreadedOpenGLEngine |
◆ vsync
bool osg::GraphicsContext::Traits::vsync |
◆ width
int osg::GraphicsContext::Traits::width |
◆ windowDecoration
bool osg::GraphicsContext::Traits::windowDecoration |
◆ windowingSystemPreference
std::string osg::GraphicsContext::Traits::windowingSystemPreference |
◆ windowName
std::string osg::GraphicsContext::Traits::windowName |
int osg::GraphicsContext::Traits::x |
int osg::GraphicsContext::Traits::y |
The documentation for this struct was generated from the following file: