- Timestamp:
- 03/13/07 09:27:17 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreSharedRuns.h
r1722 r2240 19 19 RenderTarget* renderTarget; 20 20 }; 21 21 22 /** 22 23 @brief Class of SharedRuns used in an OGRE environment. … … 183 184 //inherited 184 185 void destroy(); 186 //inherited 185 187 void runUpdated(RenderingRunType runType, RenderingRun* run); 188 //inherited 186 189 void runChanged(RenderingRunType runType, RenderingRun* run); 190 //inherited 187 191 virtual void addTechniqueGroup(TechniqueGroup* group){childTechniqueGroups.push_back(group);} 192 /** 193 @brief Sets the given material for all connected renderables. 194 195 The previous materials will be stored so later can be restored. @see restoreMaterial 196 197 @param name of the material to be set. 198 */ 188 199 void setMaterial(String materialName); 200 /** 201 @brief Restores the prevoius materials for the connected renderables. @see setMaterial 202 */ 189 203 void restoreMaterial(); 190 204 … … 203 217 std::map<RenderingRunType, RenderingRun*> sharedRuns; 204 218 /** 205 @brief map of connected renderabl is with visibility information219 @brief map of connected renderables with visibility information 206 220 207 221 Used to show or hide the renderables connected to a leaf OgreSharedRuns node. 208 222 */ 209 std::map<OgreRenderable*, bool> renderables; 223 std::map<OgreRenderable*, bool> renderables; 224 /** 225 @brief map of connected renderables with material name information 226 227 Used to resture the original materials of the renderables connected to a leaf OgreSharedRuns node. 228 */ 210 229 std::map<OgreRenderable*, String> renderableMaterials; 211 230 /**
Note: See TracChangeset
for help on using the changeset viewer.