#region License
/* FNA - XNA4 Reimplementation for Desktop Platforms
* Copyright 2009-2016 Ethan Lee and the MonoGame Team
*
* Released under the Microsoft Public License.
* See LICENSE for details.
*/
#endregion
namespace Microsoft.Xna.Framework.Graphics
{
///
/// Defines sprite sort rendering options.
///
public enum SpriteSortMode
{
///
/// All sprites are drawing when invokes, in order of draw call sequence. Depth is ignored.
///
Deferred = 0,
///
/// Each sprite is drawing at individual draw call, instead of . Depth is ignored.
///
Immediate = 1,
///
/// Same as , except sprites are sorted by texture prior to drawing. Depth is ignored.
///
Texture = 2,
///
/// Same as , except sprites are sorted by depth in back-to-front order prior to drawing.
///
BackToFront = 3,
///
/// Same as , except sprites are sorted by depth in front-to-back order prior to drawing.
///
FrontToBack = 4
}
}