glviewvol

view src/rend_fast.h @ 11:73edd1b7c2da

changed the name to glviewvol
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 31 Dec 2014 07:53:53 +0200
parents f22be47a3572
children 773f89037a35
line source
1 #ifndef REND_FAST_H_
2 #define REND_FAST_H_
4 #include "renderer.h"
6 class RendererFast : public Renderer {
7 private:
8 unsigned int vol_tex, xfer_tex;
9 bool vol_tex_valid, xfer_tex_valid;
11 int proxy_count, vbo_proxy_count;
12 unsigned int vbo;
14 public:
15 RendererFast();
17 bool init();
18 void destroy();
20 void set_volume(Volume *vol);
22 void set_proxy_count(int n);
23 int get_proxy_count() const;
25 void update(unsigned int msec);
26 void render() const;
27 };
29 #endif // REND_FAST_H_