Microsoft.Xna.Framework.Graphics.SpriteBatcher.CompareTexture C# (CSharp) Method

CompareTexture() static private method

Comparison of the underlying Texture objects for each given SpriteBatchitem.
static private CompareTexture ( SpriteBatchItem a, SpriteBatchItem b ) : int
a SpriteBatchItem
b SpriteBatchItem
return int
	    static int CompareTexture ( SpriteBatchItem a, SpriteBatchItem b )
		{
            return a.Texture.SortingKey.CompareTo(b.Texture.SortingKey);
		}