NodeChunk struct
#include <GGUI/Public/NodeStorage.h>
64 nodes, structure-of-arrays. One bit per slot in each mask. Defined in the header so node lookups inline.
Public variables
- uint64_t Active
- slots holding a node
- uint64_t Free
- allocatable: not active and not waiting to recycle
- uint32_t Generation
- each slot's generation
- NodeIndex Parent
- InvalidNode for a root.
- NodeIndex FirstChild
- InvalidNode for none.
- NodeIndex LastChild
- InvalidNode for none.
- NodeIndex NextSibling
- InvalidNode for the last.
- NodeIndex PrevSibling
- InvalidNode for the first.
- uint32_t ChildCount
- how many children
- uint64_t Key
- identifies it among its siblings; 0: by position
- uint16_t Depth
- 0 for a root
- WidgetTypeID Type
- what kind of element