]> git.tdb.fi Git - libs/gl.git/blob - source/effects/postprocessor.cpp
Load various built-in things through Resources
[libs/gl.git] / source / effects / postprocessor.cpp
1 #include "mesh.h"
2 #include "meshbuilder.h"
3 #include "postprocessor.h"
4 #include "sampler.h"
5 #include "shader.h"
6
7 namespace Msp {
8 namespace GL {
9
10 void PostProcessor::render(Renderer &, const Texture2D &color, const Texture2D &depth)
11 {
12         render(color, depth);
13 }
14
15
16 PostProcessor::Template::Template():
17         size_divisor(1)
18 { }
19
20
21 PostProcessor::Template::Loader::Loader(Template &t):
22         DataFile::ObjectLoader<Template>(t)
23 {
24         add("size_divisor", &Template::size_divisor);
25 }
26
27 } // namespace GL
28 } // namespace Msp