]> git.tdb.fi Git - libs/gl.git/blob - source/postprocessor.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / postprocessor.h
1 #ifndef MSP_GL_POSTPROCESSOR_H_
2 #define MSP_GL_POSTPROCESSOR_H_
3
4 namespace Msp {
5 namespace GL {
6
7 class Texture2D;
8
9 /**
10 Base class for post-processing effects.
11 */
12 class PostProcessor
13 {
14 protected:
15         PostProcessor() { }
16 public:
17         virtual ~PostProcessor() { }
18
19         /**
20         Renders the effect.  Takes the source texture as a parameter.
21         */
22         virtual void render(const Texture2D &, const Texture2D &) = 0;
23 };
24
25 } // namespace GL
26 } // namespace Msp
27
28 #endif