Changeset 343 for trunk/VUT/work/ogre_changes/OgreMain/include
- Timestamp:
- 10/20/05 18:49:11 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/OgreMain/include/OgreRenderQueueSortingGrouping.h
r193 r343 202 202 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 203 203 204 /** Clears solids in this group of renderables. Leaves transparents in group.205 */206 void clearSolids(void);207 208 204 enum {SOLID_PASSES = 1, 209 205 SOLID_PASSES_DECAL = 2, … … 221 217 */ 222 218 void clear(const int leavePassesInQueue); 219 /** Destroys passes determined by parameter. 220 @param passes can be one or several (combined by |) of: 221 SOLID_PASSES 222 SOLID_PASSES_DECAL 223 SOLID_PASSES_DIFFUSE_SPECULAR 224 SOLID_PASSES_NOSHADOW 225 TRANSPARENT_PASSES 226 */ 227 void destroyPassMaps(const int leavePassesInQueue); 228 223 229 #endif // GTP_VISIBILITY_MODIFIED_OGRE 224 230 /** Sets whether or not the queue will split passes by their lighting type, … … 337 343 338 344 } 339 /** Clears only solid renderables. Leaves transparents in queue. */340 void clearSolids(void)345 346 void destroyPasses(int passes) 341 347 { 342 348 PriorityMap::iterator i, iend; … … 344 350 for (i = mPriorityGroups.begin(); i != iend; ++i) 345 351 { 346 i->second->clearSolids(); 347 } 352 i->second->destroyPassMaps(passes); 353 } 354 348 355 } 349 356 #endif // GTP_VISIBILITY_MODIFIED_OGRE
Note: See TracChangeset
for help on using the changeset viewer.