- Timestamp:
- 06/20/05 08:13:57 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/OgreMain/include/OgreRenderQueueSortingGrouping.h
r115 r139 197 197 void clear(void); 198 198 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 199 199 200 /** Clears solids in this group of renderables. Leaves transparents in group. 200 201 */ 201 202 void clearSolids(void); 203 204 enum {SOLID_PASSES = 1, 205 SOLID_PASSES_DECAL = 2, 206 SOLID_PASSES_DIFFUSE_SPECULAR = 4, 207 SOLID_PASSES_NOSHADOW = 8, 208 TRANSPARENT_PASSES = 16}; 209 210 /** Clears passes determined by parameter. 211 @param passes can be one or several (combined by |) of: 212 SOLID_PASSES 213 SOLID_PASSES_DECAL 214 SOLID_PASSES_DIFFUSE_SPECULAR 215 SOLID_PASSES_NOSHADOW 216 TRANSPARENT_PASSES 217 */ 218 void clear(const int leavePassesInQueue); 202 219 #endif // GTP_VISIBILITY_MODIFIED_OGRE 203 220 /** Sets whether or not the queue will split passes by their lighting type, … … 306 323 } 307 324 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 325 void clear(int passes) 326 { 327 PriorityMap::iterator i, iend; 328 iend = mPriorityGroups.end(); 329 for (i = mPriorityGroups.begin(); i != iend; ++i) 330 { 331 i->second->clear(passes); 332 } 333 334 } 308 335 /** Clears only solid renderables. Leaves transparents in queue. */ 309 336 void clearSolids(void)
Note: See TracChangeset
for help on using the changeset viewer.