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