libpsys

diff src/psys_gl.h @ 6:d774738f50f6

almost finished with the reorg (2)
author John Tsiombikas <nuclear@mutantstargoat.com>
date Tue, 27 Sep 2011 07:42:54 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/psys_gl.h	Tue Sep 27 07:42:54 2011 +0300
     1.3 @@ -0,0 +1,14 @@
     1.4 +#ifndef PSYS_GL_H_
     1.5 +#define PSYS_GL_H_
     1.6 +
     1.7 +struct psys_particle;
     1.8 +struct psys_emitter;
     1.9 +
    1.10 +void psys_gl_draw_start(struct psys_emitter *em, void *cls);
    1.11 +void psys_gl_draw(struct psys_emitter *em, struct psys_particle *p, void *cls);
    1.12 +void psys_gl_draw_end(struct psys_emitter *em, void *cls);
    1.13 +
    1.14 +unsigned int psys_gl_load_texture(const char *fname, void *cls);
    1.15 +void psys_gl_unload_texture(unsigned int tex, void *cls);
    1.16 +
    1.17 +#endif	/* PSYS_GL_H_ */