libpsys
view src/psys_gl.h @ 7:3c0a306c5f01
revamped the makefile a bit and changed all <vmath.h> to <vmath/vmath.h> to avoid relying on pkg-config
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Tue, 27 Sep 2011 07:52:01 +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_ */