RTShaderSystemPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2016 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef _GAZEBO_RTSHADERSYSTEM_PRIVATE_HH_
19 #define _GAZEBO_RTSHADERSYSTEM_PRIVATE_HH_
20 
21 #include <string>
22 #include <vector>
23 
25 #include "gazebo/gazebo_config.h"
26 
27 namespace gazebo
28 {
29  namespace rendering
30  {
33  {
34 #if OGRE_VERSION_MAJOR >= 1 && OGRE_VERSION_MINOR >= 7
35  public: Ogre::RTShader::ShaderGenerator *shaderGenerator;
37 
39  public: Ogre::RTShader::SubRenderState *shadowRenderState;
40 #endif
41 
43  public: bool initialized;
44 
46  public: bool shadowsApplied;
47 
49  public: std::vector<ScenePtr> scenes;
50 
52  public: Ogre::ShadowCameraSetupPtr pssmSetup;
53 
55  public: bool updateShaders;
56  };
57  }
58 }
59 #endif
bool initialized
True if initialized.
Definition: RTShaderSystemPrivate.hh:43
bool updateShaders
Flag to indicate that shaders need to be updated.
Definition: RTShaderSystemPrivate.hh:55
std::vector< ScenePtr > scenes
All the scenes.
Definition: RTShaderSystemPrivate.hh:49
Private data for the RTShaderSystem class.
Definition: RTShaderSystemPrivate.hh:32
bool shadowsApplied
True if shadows have been applied.
Definition: RTShaderSystemPrivate.hh:46
Ogre::ShadowCameraSetupPtr pssmSetup
Parallel Split Shadow Map (PSSM) camera setup.
Definition: RTShaderSystemPrivate.hh:52