source: GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/src/OgreTechniqueGroup.cpp @ 790

Revision 790, 787 bytes checked in by szirmay, 19 years ago (diff)
Line 
1#include "OgreTechniqueGroup.h"
2
3
4void OgreTechniqueGroup::addRenderTechnique(RenderTechnique* technique)
5{
6        renderTechniques.push_back( technique->asOgreRenderTechnique() );
7}
8
9void OgreTechniqueGroup::update(unsigned long frameNum)
10{
11        for(unsigned int i = 0; i < renderTechniques.size(); i++ )
12        {
13                renderTechniques.at(i)->update(frameNum);
14        }
15}
16
17void OgreTechniqueGroup::runChanged(RenderingRunType runType, RenderingRun* run)
18{
19        for(unsigned int i = 0; i < renderTechniques.size(); i++ )
20        {
21                renderTechniques.at(i)->runChanged(runType, run);
22        }
23}
24
25void OgreTechniqueGroup::runUpdated(RenderingRunType runType, RenderingRun* run)
26{
27        for(unsigned int i = 0; i < renderTechniques.size(); i++ )
28        {
29                renderTechniques.at(i)->runUpdated(runType, run);
30        }
31}
Note: See TracBrowser for help on using the repository browser.