void psResetEmitter(EmitterHandle _handle)
bool psHasUpdated(EmitterHandle _handle)
void psInit(uint16_t _maxEmitters=64, bx::AllocatorI *_allocator=nullptr)
void psUpdateEmitter(EmitterHandle _handle, float _dt, EmitterUniforms *_uniforms=nullptr)
EmitterHandle psCreateEmitter(EmitterShape::Enum _shape, EmitterDirection::Enum _direction, uint32_t _maxParticles)
uint32_t psGetNumParticles(EmitterHandle _handle)
void psGetAabb(EmitterHandle _handle, math::bbox &_outAabb)
void psDestroyEmitter(EmitterHandle _handle)
uint32_t psRenderEmitterBatch(const EmitterHandle *_handles, uint32_t _count, uint8_t _view, bgfx::ProgramHandle _program, const float *_mtxView, const math::vec3 &_eye, bgfx::TextureHandle _texture, uint64_t _blend_state, bool _sort_by_depth=true)