LavaUI docs

struct SceneNodeFlags

Swift

struct SceneNodeFlags

Bits in a beginNode command's color field. Mirrors canvas::SceneNodeFlags.

Sources/LavaUI/DrawList.swift:63

Constructors

init(rawValue: UInt32)

Not documented.

Sources/LavaUI/DrawList.swift:65

Properties

static let absoluteCoordinates: SceneNodeFlags

Commands inside the node use LavaUI's window-space coordinates. The renderer applies only retained transforms, not the node origin again.

Sources/LavaUI/DrawList.swift:77

static let clip: SceneNodeFlags

Clip children to the node's viewport, moving with the node.

Sources/LavaUI/DrawList.swift:68

static let hitTest: SceneNodeFlags

Not documented.

Sources/LavaUI/DrawList.swift:74

static let hoverSnap: SceneNodeFlags

Snap the hover tint off instead of easing it. Dense full-width rows need this; a button does not. See kSceneNodeHoverSnap.

Sources/LavaUI/DrawList.swift:83

let rawValue: UInt32

Not documented.

Sources/LavaUI/DrawList.swift:64

static let scrollX: SceneNodeFlags

Not documented.

Sources/LavaUI/DrawList.swift:73

static let scrollY: SceneNodeFlags

The renderer owns a vertical scroll offset for this node — wheel events inside it move the subtree without the producer hearing about it, or being woken to redraw.

Sources/LavaUI/DrawList.swift:72

static let wheel: SceneNodeFlags

This node handles the wheel itself, so the renderer must not scroll an enclosing container on its behalf. See ScrollRouter.

Sources/LavaUI/DrawList.swift:80