libpsys
view src/psys_gl.h @ 16:3871a45a4e4b
Almost there
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Tue, 11 Sep 2012 02:13:12 +0300 |
parents | |
children |
line source
1 #ifndef PSYS_GL_H_
2 #define PSYS_GL_H_
4 struct psys_particle;
5 struct psys_emitter;
7 void psys_gl_draw_start(struct psys_emitter *em, void *cls);
8 void psys_gl_draw(struct psys_emitter *em, struct psys_particle *p, void *cls);
9 void psys_gl_draw_end(struct psys_emitter *em, void *cls);
11 unsigned int psys_gl_load_texture(const char *fname, void *cls);
12 void psys_gl_unload_texture(unsigned int tex, void *cls);
14 #endif /* PSYS_GL_H_ */