Table of Contents

Enum ParticlePool.ListPolicy

Namespace
Stride.Particles
Assembly
Stride.Particles.dll
public enum ParticlePool.ListPolicy

Fields

Ring = 0

New particles are allocated from the next free index which loops when it reaches the end of the list. The pool doesn't care about dead particles - they don't move and get overwritten by new particles.

Stack = 1

New particles are allocated at the top of the stack. Dead particles are swapped out with the top particle. The stack stays small but order of the particles gets scrambled.