DI-Guy SDK Documentation  13.1
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__
A class that represents the unique per-character shader object.
Definition: diguyGraphicsShaderInstance.h:55
osg::ref_ptr< osg::Uniform > m_ufrm_apply_matrices_flag
Definition: diguyOsgGraphicsShaderInstance.h:31
osg::ref_ptr< osg::StateSet > m_shader_state_set
Definition: diguyOsgGraphicsShaderInstance.h:36
Definition: diguyOsgGraphicsShaderInstance.h:21
~diguyOsgGraphicsShaderInstance()
Definition: diguyOsgGraphicsShaderInstance.cpp:71
osg::StateSet * get_state_set()
Definition: diguyOsgGraphicsShaderInstance.cpp:94
diguyOsgGraphicsShaderInstance(void *internal_data)
4 Header files and forward declarations
Definition: diguyOsgGraphicsShaderInstance.cpp:52
diguyGraphicsShaderInstance * diguyOsgGraphicsShaderInstance_create_func(void *internal_data)
Create function declaration.
Definition: diguyOsgGraphicsShaderInstance.cpp:209
osg::ref_ptr< osg::Uniform > m_ufrm_textures_enabled
Definition: diguyOsgGraphicsShaderInstance.h:32