Line | |
---|
1 | #include "OgreTechniqueGroup.h"
|
---|
2 |
|
---|
3 |
|
---|
4 | void OgreTechniqueGroup::addRenderTechnique(RenderTechnique* technique)
|
---|
5 | {
|
---|
6 | renderTechniques.push_back( technique->asOgreRenderTechnique() );
|
---|
7 | }
|
---|
8 |
|
---|
9 | void 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 |
|
---|
17 | void 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 |
|
---|
25 | void 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.