DI-Guy SDK Documentation  13.8
diguyOsgGraphicsShaderInstance.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2024 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #ifndef diguyOsgGraphicsShaderInstance_h__
7 #define diguyOsgGraphicsShaderInstance_h__
8 
10 #include <osg/Uniform>
11 #include <osg/StateSet>
12 
22 {
23 
24 public:
25 
26  diguyOsgGraphicsShaderInstance(void* internal_data);
28 
29 
30  osg::StateSet* get_state_set();
31 
32  osg::ref_ptr<osg::Uniform> m_ufrm_apply_matrices_flag;
33  osg::ref_ptr<osg::Uniform> m_ufrm_textures_enabled;
34 
35 protected:
36 
37  osg::ref_ptr<osg::StateSet> m_shader_state_set;
38 };
39 
40 
48 
49 #endif // diguyOsgGraphicsShaderInstance_h__
A class that represents the unique per-character shader object.
Definition: diguyGraphicsShaderInstance.h:54
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
osg::StateSet * get_state_set()
diguyOsgGraphicsShaderInstance(void *internal_data)
diguyGraphicsShaderInstance * diguyOsgGraphicsShaderInstance_create_func(void *internal_data)
Create function declaration.
osg::ref_ptr< osg::Uniform > m_ufrm_textures_enabled
Definition: diguyOsgGraphicsShaderInstance.h:32