X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpostprocessor.h;h=6e3153dab69f9dea7639ffc675ad4386c8d45725;hp=25ed150a53f803b08f763c74c9a4836196ee99df;hb=332352298ef41b8ac3a4c57b467dd146c0b05e0b;hpb=936a307eaf8dafd0874c74d211e991bd81a74387 diff --git a/source/postprocessor.h b/source/postprocessor.h index 25ed150a..6e3153da 100644 --- a/source/postprocessor.h +++ b/source/postprocessor.h @@ -1,32 +1,65 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_POSTPROCESSOR_H_ #define MSP_GL_POSTPROCESSOR_H_ +#include + namespace Msp { namespace GL { +class Mesh; +class Renderer; +class Shader; class Texture2D; /** -Base class for post-processing effects. +Base class for post-processing effects. Post-processors receive the contents +of the entire framebuffer as a texture and render it back, altering it in the +process. */ class PostProcessor { +public: + struct Template + { + class Loader: public Msp::DataFile::ObjectLoader