using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Particles * @{ */ /// Determines how to sort particles before rendering. public enum ParticleSortMode { /// Do not sort the particles. None = 0, /// Sort by distance from the camera, furthest to nearest. Distance = 1, /// Sort by age, oldest to youngest. OldToYoung = 2, /// Sort by age, youngest to oldest. YoungToOld = 3 } /** @} */ }