source: GTP/branches/IllumWPdeliver2008dec/IlluminationWP/precompiled/include/IllumModule/RenderingRuns/SceneCameraDepthRenderingRun.h @ 3255

Revision 3255, 720 bytes checked in by szirmay, 15 years ago (diff)
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*/
9class __declspec( dllexport ) SceneCameraDepthRenderingRun : virtual public RenderingRun
10{       
11public:
12        /**
13                @brief Constructor.
14        */
15        SceneCameraDepthRenderingRun()
16                                                        :RenderingRun(1, 1)
17        {
18        }
19
20        virtual ~SceneCameraDepthRenderingRun(){}
21
22protected:
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.