libpsys

view src/psys_gl.h @ 9:9c24273f211b

first test is done
author John Tsiombikas <nuclear@mutantstargoat.com>
date Wed, 28 Sep 2011 03:42: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_ */