libpsys

annotate src/psys_gl.h @ 17:7fbed016e739

fixed the particle system loading
author John Tsiombikas <nuclear@mutantstargoat.com>
date Tue, 11 Sep 2012 03:26:13 +0300
parents
children
rev   line source
nuclear@6 1 #ifndef PSYS_GL_H_
nuclear@6 2 #define PSYS_GL_H_
nuclear@6 3
nuclear@6 4 struct psys_particle;
nuclear@6 5 struct psys_emitter;
nuclear@6 6
nuclear@6 7 void psys_gl_draw_start(struct psys_emitter *em, void *cls);
nuclear@6 8 void psys_gl_draw(struct psys_emitter *em, struct psys_particle *p, void *cls);
nuclear@6 9 void psys_gl_draw_end(struct psys_emitter *em, void *cls);
nuclear@6 10
nuclear@6 11 unsigned int psys_gl_load_texture(const char *fname, void *cls);
nuclear@6 12 void psys_gl_unload_texture(unsigned int tex, void *cls);
nuclear@6 13
nuclear@6 14 #endif /* PSYS_GL_H_ */