Fixed-capacity particle pool with O(1) swap-remove.
GPU-uploadable particle structs for all effect categories.
void spawn(glm::vec3 pos, glm::vec3 normal, SurfaceType surface, float frameDt)
Spawn 8-16 sparks + 1 flash at the impact point.
Definition ImpactEffect.cpp:49
Single billboard particle (sparks, impact flash, shockwave ring).
Definition ParticleTypes.hpp:12
Fixed-capacity particle pool with O(1) swap-remove.
Definition ParticlePool.hpp:22
const T * rawData() const
Pointer to the contiguous live data for GPU upload.
Definition ParticlePool.hpp:48
uint32_t liveCount() const
Definition ParticlePool.hpp:49