ParticlePool.ListPolicy Enum
Namespace: Stride.ParticlesAssembly: Stride.Particles.dll
public enum ListPolicy
Fields
Name | Description |
---|---|
Ring | 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 | 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. |