public static SpriteBatch Add(SpriteBatch.Name name, uint priority, int reserveNum = 3, int reserveGrow = 1) { SpriteBatchManager pMan = SpriteBatchManager.pActiveSBMan; Debug.Assert(pMan != null); SpriteBatch pNode = (SpriteBatch)pMan.BaseSortedAdd(priority); Debug.Assert(pNode != null); pNode.Set(name, reserveNum, reserveGrow); return(pNode); }