carb::simplegui::ListClipper
Defined in carb/simplegui/SimpleGuiTypes.h
-
struct ListClipper
Helper: Manually clip large list of items.
If you are submitting lots of evenly spaced items and you have a random access to the list, you can perform coarse clipping based on visibility to save yourself from processing those items at all. The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped.