using Microsoft.Xna.Framework.Graphics;
namespace MonoGame.Extended.Graphics.Batching
{
///
/// Defines options for how geometric objects are submitted to a .
///
public enum BatchSortMode : byte
{
///
/// Each call invokes
/// immediately for each
/// .
///
Immediate,
///
/// Each call is added to the end of an array of draw
/// commands. Draw commands will be merged, if possible, for batching. When
/// or
/// is called, the merged draw commands will be processed
/// on a first come, first serve, basis where each command invokes
/// for each
/// .
///
Deferred,
///
/// Each call is added to the end of an array of draw
/// commands. Draw commands will be merged, if possible, for batching as are they called and after they are sorted in
/// ascending order by their sort keys. When
/// or
/// is called, the sorting takes place and then the merged
/// draw commands are processed where each command invokes
/// for each
/// .
///
DeferredSorted
}
}