@modoki/engine / index / clearParticleCache
Function: clearParticleCache()
clearParticleCache():
void
Drop ALL cached effect defs (e.g. on scene swap / full resource disposal). Bumps the generation so any in-flight fetch discards its result instead of repopulating the cache. Particle defs are plain data — nothing to GPU-dispose.
Returns
void