LavaUI docs

enum InvalidationLevel

Swift

enum InvalidationLevel

How much of the pipeline a change actually invalidates.

Levels are ordered and inclusive: body implies layout implies redraw. The distinction earns its keep with animation — a colour fade must not re-run every body and every Mirror-based state transplant sixty times a second just to change a pixel value.

Sources/LavaUI/State.swift:209

Cases

case none

Not documented.

Sources/LavaUI/State.swift:210

case redraw

Re-emit the draw list. Layout and view values are unchanged.

Sources/LavaUI/State.swift:212

case layout

Re-run Yoga, then emit.

Sources/LavaUI/State.swift:214

case body

Recompute bodies, reconcile, lay out, emit.

Sources/LavaUI/State.swift:216

Operators

static func < (a: `Self`, b: `Self`) -> Bool

Not documented.

Sources/LavaUI/State.swift:218