X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpostprocessor.h;h=6e3153dab69f9dea7639ffc675ad4386c8d45725;hp=9e4220abd84a24b04330727a18bc0cb8e03deacf;hb=332352298ef41b8ac3a4c57b467dd146c0b05e0b;hpb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8 diff --git a/source/postprocessor.h b/source/postprocessor.h index 9e4220ab..6e3153da 100644 --- a/source/postprocessor.h +++ b/source/postprocessor.h @@ -1,25 +1,65 @@ #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