GGUI::PaintDelta struct

What changed between one snapshot's primitives and the next, so a consumer keeping a copy (a GPU buffer) can update it incrementally.

Ranges are of slots. A node keeps its slots, so one node's change is one range. The overlay (GGSnapshot::Overlay) isn't covered: it is small and always sent whole.

Public static variables

static uint32_t MaxRanges constexpr
past this many, the nearest ranges are joined

Public variables

uint64_t From
sequence number of the snapshot this is a delta from
PrimitiveRange Ranges
the slots that changed
uint32_t RangeCount
how many of Ranges are filled
bool bAll
anything may differ; ignore Ranges
bool bClips
the clip table changed
bool bOrder
the draw order changed