public void FinishCommandList() { CommandList = DevContext.FinishCommandList(false); ClearStates(); }