Rev | Line | |
---|
[2189] | 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 | */
|
---|
| 17 | class OgrePMEntryPointMapRenderingRun : public OgreRenderingRun
|
---|
| 18 | {
|
---|
| 19 | public:
|
---|
| 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;}
|
---|
[2200] | 31 | String getClusterLengthTextureName(){return clusterLengthTexture->getName();}
|
---|
[2189] | 32 |
|
---|
| 33 | protected:
|
---|
| 34 | /**
|
---|
| 35 | @brief the name of the entry point texture that was created by this run
|
---|
| 36 | */
|
---|
| 37 | String name;
|
---|
| 38 | /**
|
---|
| 39 | @brief a pointer to the scene depth texture that was created by this run
|
---|
| 40 | */
|
---|
| 41 | Texture* entryPointTexture;
|
---|
[2200] | 42 | Texture* clusterLengthTexture;
|
---|
[2189] | 43 |
|
---|
| 44 | //inherited
|
---|
| 45 | void updateFrame(unsigned long frameNum);
|
---|
| 46 |
|
---|
| 47 | inline void createEntryPointMap();
|
---|
| 48 |
|
---|
| 49 | bool needUpdate(unsigned long frameNum )
|
---|
| 50 | {
|
---|
| 51 | return true;
|
---|
| 52 | }
|
---|
| 53 |
|
---|
| 54 | };
|
---|
Note: See
TracBrowser
for help on using the repository browser.