Line | |
---|
1 | #pragma once
|
---|
2 | #include "RenderingRun.h"
|
---|
3 |
|
---|
4 | /**
|
---|
5 | @brief Base abstract class __declspec( dllexport ) that defines a rendering process that creates depth map fro the camera.
|
---|
6 |
|
---|
7 | The depth map stores the scene's camera space z coordinates (rendered from the player's view).
|
---|
8 | */
|
---|
9 | class __declspec( dllexport ) SceneCameraDepthRenderingRun : virtual public RenderingRun
|
---|
10 | {
|
---|
11 | public:
|
---|
12 | /**
|
---|
13 | @brief Constructor.
|
---|
14 | */
|
---|
15 | SceneCameraDepthRenderingRun()
|
---|
16 | :RenderingRun(1, 1)
|
---|
17 | {
|
---|
18 | }
|
---|
19 |
|
---|
20 | virtual ~SceneCameraDepthRenderingRun(){}
|
---|
21 |
|
---|
22 | protected:
|
---|
23 |
|
---|
24 | /**
|
---|
25 | @brief Creates the depth map texture.
|
---|
26 | */
|
---|
27 | virtual inline void createDepthMap() = 0;
|
---|
28 | //inherited
|
---|
29 | virtual void updateFrame(unsigned long frameNum) = 0;
|
---|
30 | };
|
---|
Note: See
TracBrowser
for help on using the repository browser.