]> git.bts.cx Git - benzene.git/blob - src/bz/gfx/particle_drawing.h
Fixed Aseprite rendering system
[benzene.git] / src / bz / gfx / particle_drawing.h
1 #ifndef BZ_GFX_PARTICLE_DRAWING_H
2 #define BZ_GFX_PARTICLE_DRAWING_H
3
4 #include <bz/fx/particle_simulation.h>
5 #include <bz/gfx/draw_queue.h>
6 #include <bz/math/vector.h>
7 #include <bz/types/common.h>
8 //#include <bz/types/identifier.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 //typedef void (*BZParticleSimulationDrawFunction)(size_t particleCount, float ticks, float spawnTick[], float lifetimes[], float positionsX[], float positionsY[], float sizes[], float colors[], float alpha[]);
15
16 //extern void bzGfxRegisterParticleDrawFunction(BZParticleSimulationDrawFunction function, void *userParameter);
17
18 extern void bzGfxDrawParticles(BZParticleSimulationID simulation, BZDrawQueueID drawQueue);
19
20 #ifdef __cplusplus
21 }
22 #endif
23
24 #endif