X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpostprocessor.h;h=6e3153dab69f9dea7639ffc675ad4386c8d45725;hp=e40d80438a5a556d55713b98aa32f296d9482798;hb=eacacdda1dc40bb655a3df14b59260ce06329fb6;hpb=119d9819ac9e9a8d274d2410beffe54e470485a3 diff --git a/source/postprocessor.h b/source/postprocessor.h index e40d8043..6e3153da 100644 --- a/source/postprocessor.h +++ b/source/postprocessor.h @@ -1,30 +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