clray
view src/rt.h @ 41:057b8575a1c1
- changed the membuffer into an imagebuffer for the non-GL/CL-interop case
- fixed the segfault
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 27 Aug 2010 20:39:55 +0100 |
parents | 8b2f2ad14ae7 |
children | 30bf84881553 |
line source
1 #ifndef RT_H_
2 #define RT_H_
4 #include "scene.h"
6 bool init_renderer(int xsz, int ysz, Scene *scn, unsigned int tex);
7 void destroy_renderer();
8 bool render();
9 void set_xform(float *matrix, float *invtrans);
11 void dbg_render_gl(Scene *scn, bool show_tree = false, bool show_obj = true);
13 #endif /* RT_H_ */