source: GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/OgreRenderTechnique.h @ 790

Revision 790, 1.1 KB checked in by szirmay, 18 years ago (diff)
Line 
1#pragma once
2#include "RenderTechnique.h"
3#include "OgreRenderable.h"
4#include "OgreSharedRuns.h"
5
6class OgreTechniqueGroup;
7
8/**
9        @brief Class of RenderTechniques used in an OGRE environment.   
10*/
11class OgreRenderTechnique : virtual public RenderTechnique
12{
13        public:
14                /**
15                        @brief Constructor.
16
17                        @param the pass to operate on
18                        @param parentRenderable the object to operate on
19                        @param parentTechniqueGroup the TechniqueGroup this RenderedTechnique is attached to
20                */
21                OgreRenderTechnique(
22                                                Pass* pass,
23                                                OgreRenderable* parentRenderable,
24                                                OgreTechniqueGroup* parentTechniqueGroup);
25                ~OgreRenderTechnique( );
26
27                //inherited
28                virtual OgreRenderTechnique* asOgreRenderTechnique(){return this;}
29                               
30        protected:
31                /**
32                        @brief a OgreRenderable pointer to the renderable this technique operates on.
33                */
34                OgreRenderable* parentOgreRenderable;
35                /**
36                        @brief a OgreTechniqueGroup pointer to the TechniqueGroup this technique is attached to.
37                */
38                OgreTechniqueGroup* parentOgreTechniqueGroup;
39                /**
40                        @brief a pointer to the pass this technique operates on.
41                */
42                Pass* pass;             
43};
Note: See TracBrowser for help on using the repository browser.