Enum SpriteSortMode
Defines sprite sort rendering options.
public enum SpriteSortMode
Fields
BackToFront = 3
Same as Deferred, except sprites are sorted by depth in back-to-front order prior to drawing. An unstable sort is used, which means sprites with equal depth may not have their order preserved.
Deferred = 0
All sprites are drawing when End() invokes, in order of draw call sequence. Depth is ignored.
FrontToBack = 4
Same as Deferred, except sprites are sorted by depth in front-to-back order prior to drawing. An unstable sort is used, which means sprites with equal depth may not have their order preserved.
Immediate = 1
Each sprite is drawing at individual draw call, instead of End(). Depth is ignored.
Texture = 2
Same as Deferred, except sprites are sorted by texture prior to drawing. Depth is ignored.