An element's slot in ElementStorage: its depth and index within that depth.
More...
#include <gui_core/elements/gui_element.h>
|
| uint32_t | depth = 0 |
| uint32_t | index = 0 |
| | Index into the depth's array, which holds children of many parents.
|
An element's slot in ElementStorage: its depth and index within that depth.
◆ IsRoot()
| bool tachyon::ElementRef::IsRoot |
( |
| ) |
const |
|
inlineconstexpr |
◆ IsValid()
| bool tachyon::ElementRef::IsValid |
( |
| ) |
const |
|
inlineconstexpr |
◆ Invalid()
| constexpr ElementRef tachyon::ElementRef::Invalid |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ operator==()
| bool tachyon::ElementRef::operator== |
( |
const ElementRef & | rhs | ) |
const |
|
inline |
◆ operator!=()
| bool tachyon::ElementRef::operator!= |
( |
const ElementRef & | rhs | ) |
const |
|
inline |
◆ HashCode()
| uint64_t tachyon::ElementRef::HashCode |
( |
| ) |
const |
|
inlinenoexcept |
A 64-bit key: depth in the high 32 bits, index in the low 32.
◆ depth
| uint32_t tachyon::ElementRef::depth = 0 |
◆ index
| uint32_t tachyon::ElementRef::index = 0 |
Index into the depth's array, which holds children of many parents.
The documentation for this struct was generated from the following file: