dungeon_crawler

view prototype/src/colgrade.h @ 72:a27528035e20

- re-organized the renderer classes a bit wrt final render-target - implemented identity color-grading palette for now - broke particle systems.... - removed multipass renderer
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 19 Oct 2012 02:45:57 +0300
parents
children 5981917093ff
line source
1 #ifndef COLGRADE_H_
2 #define COLGRADE_H_
4 class GradePalette {
5 private:
6 unsigned int tex;
7 int size;
9 public:
10 GradePalette();
11 ~GradePalette();
13 bool create(int sz = 16);
14 void destroy();
16 bool save_shot(const char *fname) const;
17 bool load_shot(const char *fname);
19 unsigned int get_texture() const;
20 };
22 #endif // COLGRADE_H_