bloboland

view src/renderer.h @ 1:cfe68befb7cc

some progress
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 15 Dec 2012 23:43:03 +0200
parents
children a39c301cdcce
line source
1 #ifndef RENDERER_H_
2 #define RENDERER_H_
4 #include "shaders.h"
5 #include "texture.h"
6 #include "level.h"
8 class Renderer {
9 private:
10 mutable Texture3D *leveltex;
11 SdrProg *sdrprog;
13 public:
14 Renderer();
15 ~Renderer();
17 bool init();
18 void shutdown();
20 void render(const Level *lvl) const;
21 };
23 #endif // RENDERER_H_