Sprite sort mode enumeration.
Declaration Syntax
C# |
public enum SpriteSortMode
Members
Member | Description |
---|---|
Deferred |
Default, where sprites are queued and rendered all together in the order that they are received. No sorting
is done.
|
BackToFront |
Same as deferred, except sort back to front using the sprite's depth order. Useful for transparent sprites.
|
FrontToBack |
Same as deferred, except sort front to back using the sprite's depth order. Useful for opaque sprites.
|
Texture |
Same as deferred, except sort by texture, where all sprites that use the same texture will be drawn as a single batch.
|
Immediate |
No sorting, draw the sprite immediately.
|
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)