source: GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgrePMEntryPointMapRenderingRun.h @ 2189

Revision 2189, 994 bytes checked in by szirmay, 17 years ago (diff)
Line 
1#pragma once
2
3//disable inheritance warning caused by multiple inheritance
4#if _WIN32
5#if _MSC_VER
6#pragma warning(disable: 4250)
7#endif
8#endif
9
10#include "OgreRenderingRun.h"
11#include "OgreSharedRuns.h"
12
13
14/**
15        @brief ColorCubeMapRenderingRun used in an OGRE environment.
16*/
17class OgrePMEntryPointMapRenderingRun : public OgreRenderingRun                                                                 
18{       
19public:
20
21        /**
22                @brief Constructor.
23
24               
25        */     
26        OgrePMEntryPointMapRenderingRun(String name);
27        /**
28                @brief returns the name of the camera depth texture
29        */
30        String getEntryPointTextureName(){return name;}
31       
32protected:
33        /**
34                @brief the name of the entry point texture that was created by this run
35        */
36        String name;
37        /**
38                @brief a pointer to the scene depth texture that was created by this run
39        */
40        Texture* entryPointTexture;
41       
42        //inherited
43        void updateFrame(unsigned long frameNum);       
44       
45        inline void createEntryPointMap();
46
47        bool needUpdate(unsigned long frameNum )
48        {
49                return true;
50        }
51
52};
Note: See TracBrowser for help on using the repository browser.