private int current; // <- index into DrawingInfo table public BackToFrontEnumerator(SortedDrawList sortedDrawList) { i = sortedDrawList.Count - 1; current = 0; this.sortedDrawList = sortedDrawList; }
private int current; // <- index into DrawingInfo table public FrontToBackEnumerator(SortedDrawList sortedDrawList) { i = 0; current = 0; this.sortedDrawList = sortedDrawList; }
public BackToFrontEnumerable(SortedDrawList sortedDrawList) { this.sortedDrawList = sortedDrawList; }
public FrontToBackEnumerable(SortedDrawList sortedDrawList) { this.sortedDrawList = sortedDrawList; }