X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpostprocessor.h;h=6e3153dab69f9dea7639ffc675ad4386c8d45725;hp=f835e5afafd75bbfac7568af9ca9ab68634754ea;hb=332352298ef41b8ac3a4c57b467dd146c0b05e0b;hpb=c216893af147042e40c389e2530e71277c343044 diff --git a/source/postprocessor.h b/source/postprocessor.h index f835e5af..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