OpenSceneGraph
Classes | Namespaces | Macros
GraphicsContext File Reference
#include <osg/State>
#include <osg/GraphicsThread>
#include <osg/Timer>
#include <vector>

Classes

class  osg::GraphicsContext
 Base class for providing Windowing API agnostic access to creating and managing graphics context. More...
 
struct  osg::GraphicsContext::ScreenIdentifier
 
struct  osg::GraphicsContext::Traits
 GraphicsContext Traits object provides the specification of what type of graphics context is required. More...
 
struct  osg::GraphicsContext::ScreenSettings
 Simple resolution structure used by WindowingSystemInterface to get and set screen resolution. More...
 
struct  osg::GraphicsContext::WindowingSystemInterface
 Callback to be implemented to provide access to Windowing API's ability to create Windows/pbuffers. More...
 
class  osg::GraphicsContext::WindowingSystemInterfaces
 
struct  osg::GraphicsContext::SwapCallback
 
struct  osg::GraphicsContext::ResizedCallback
 
class  osg::SyncSwapBuffersCallback
 
struct  osg::WindowingSystemInterfaceProxy< T >
 

Namespaces

 osg
 The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes.
 

Macros

#define OSG_GRAPHICSCONTEXT   1
 
#define _OSG_GRAPHICSCONTEXT_NO_ATTRIBS
 
#define REGISTER_WINDOWINGSYSTEMINTERFACE2(ext, classname, attribs)
 
#define REGISTER_WINDOWINGSYSTEMINTERFACE(ext, classname)   REGISTER_WINDOWINGSYSTEMINTERFACE2(ext, classname, _OSG_GRAPHICSCONTEXT_NO_ATTRIBS)
 

Macro Definition Documentation

◆ _OSG_GRAPHICSCONTEXT_NO_ATTRIBS

#define _OSG_GRAPHICSCONTEXT_NO_ATTRIBS

◆ OSG_GRAPHICSCONTEXT

#define OSG_GRAPHICSCONTEXT   1

◆ REGISTER_WINDOWINGSYSTEMINTERFACE

#define REGISTER_WINDOWINGSYSTEMINTERFACE (   ext,
  classname 
)    REGISTER_WINDOWINGSYSTEMINTERFACE2(ext, classname, _OSG_GRAPHICSCONTEXT_NO_ATTRIBS)

◆ REGISTER_WINDOWINGSYSTEMINTERFACE2

#define REGISTER_WINDOWINGSYSTEMINTERFACE2 (   ext,
  classname,
  attribs 
)
Value:
extern "C" attribs void graphicswindow_##ext(void) {} \
static osg::WindowingSystemInterfaceProxy<classname> s_proxy_##classname(#ext);
Definition: GraphicsContext:582