IndexComparer(List) Constructor
Definition¶
Namespace: Brine2D.Rendering.SpriteBatcher
Compares batch items by index into the items list, avoiding full-struct copies during sort swaps. Only 4-byte indices are swapped instead of the 80+ byte SpriteBatchItem structs.
public IndexComparer(System.Collections.Generic.List<Brine2D.Rendering.SpriteBatchItem> items);