Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::NodeSnapshot Struct Reference

Owning snapshot of a live node; handles remain checked after subsequent mutations. More...

#include <widget.hpp>

Public Attributes

Node< Widget > parent
 Empty only for the root.
std::vector< Node< Widget > > children = std::vector<Node<Widget>>(0)
 Live children in insertion order.
NodeGeometry geometry
 Owning geometry snapshot.
bool visible {true}
 Hidden subtrees do not participate in layout, paint or input.
bool enabled {true}
 Disabled subtrees retain layout/paint but do not receive input.
std::optional< ParentLayoutEdge > parentLayoutEdge
 Optional specialized parent policy, copied by value.
std::optional< std::uint64_t > geometryEpoch
 Successful arrangement stamp, absent after invalidation.
bool regionalInputOpen {true}
 Committed direct-edge admission, independent of user flags.

Detailed Description

Owning snapshot of a live node; handles remain checked after subsequent mutations.


The documentation for this struct was generated from the following file: