Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
TemporaryGraphicsContext.h
1 //
2 // TemporaryGraphicsContext.h
3 //
4 //
5 // Copyright (c) 2012 Virtual Terrain Project
6 // Free for all uses, see license.txt for details.
7 //
8 
9 #ifndef TEMPORYGRAPHICSCONTEXTH
10 #define TEMPORYGRAPHICSCONTEXTH
11 
13 {
14 public:
16  virtual ~vtTemporaryGraphicsContext(void);
17 private:
18  osg::ref_ptr<osg::GraphicsContext> m_pGraphicsContext;
19  osg::ref_ptr<osg::GraphicsContext::Traits> m_pTraits;
20 };
21 
22 #endif // TEMPORYGRAPHICSCONTEXTH
23