DI-Guy C++ SDK Reference  13.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diguyOsgGraphicsState.h
Go to the documentation of this file.
1 #ifndef diguyOsgGraphicsState_h__
2 #define diguyOsgGraphicsState_h__
3 
4 
5 /*********************************************************************
6  **
7  *2 diguyOsgGraphicsState
8  **
9  */
10 
11 #include <diguyGraphicsState.h>
12 
13 #include <osg/StateSet>
14 
15 
16 /**********************************************************************
17  **
18  ** Class declaration. diguyOsgGraphicsState publicly inherits
19  ** diguyGraphicsState. Virtual functions are declared for some of the
20  ** virtual functions in the base class.
21  */
23 {
24 
25 public:
26 
27  diguyOsgGraphicsState(void* internal_data);
28 
29  virtual void build();
30  virtual void unbuild();
31 
32  osg::StateSet* get_state_set() {return m_state_set.get();}
33 
34 protected:
35 
36  osg::ref_ptr<osg::StateSet> m_state_set;
37 };
38 
39 
45 #endif // diguyOsgGraphicsState_h__
46