par_rast
diff src/par3d.h @ 0:11f024648101
initial
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 22 Mar 2016 00:55:07 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/par3d.h Tue Mar 22 00:55:07 2016 +0200 1.3 @@ -0,0 +1,11 @@ 1.4 +#ifndef PAR3D_H_ 1.5 +#define PAR3D_H_ 1.6 + 1.7 +int p3d_init(void); 1.8 +void p3d_setfb(int width, int height, uint32_t *pixels); 1.9 + 1.10 +int p3d_vertex_buffer(int vcount, int nfloats); 1.11 +void *p3d_map_buffer(int vb); 1.12 +void p3d_unmap_buffer(int vb); 1.13 + 1.14 +#endif /* PAR3D_H_ */