bloboland

annotate 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
rev   line source
nuclear@1 1 #ifndef RENDERER_H_
nuclear@1 2 #define RENDERER_H_
nuclear@1 3
nuclear@1 4 #include "shaders.h"
nuclear@1 5 #include "texture.h"
nuclear@1 6 #include "level.h"
nuclear@1 7
nuclear@1 8 class Renderer {
nuclear@1 9 private:
nuclear@1 10 mutable Texture3D *leveltex;
nuclear@1 11 SdrProg *sdrprog;
nuclear@1 12
nuclear@1 13 public:
nuclear@1 14 Renderer();
nuclear@1 15 ~Renderer();
nuclear@1 16
nuclear@1 17 bool init();
nuclear@1 18 void shutdown();
nuclear@1 19
nuclear@1 20 void render(const Level *lvl) const;
nuclear@1 21 };
nuclear@1 22
nuclear@1 23 #endif // RENDERER_H_