cesium-native
0.41.0
|
Availability nodes wrap subtree objects and link them together to form a downwardly traversable availability tree. More...
#include <CesiumGeometry/Availability.h>
Public Member Functions | |
AvailabilityNode () noexcept | |
Creates an empty instance;. | |
void | setLoadedSubtree (AvailabilitySubtree &&subtree_, uint32_t maxChildrenSubtrees) noexcept |
Sets the loaded subtree for this availability node. More... | |
Public Attributes | |
std::optional< AvailabilitySubtree > | subtree |
The subtree data for this node. More... | |
std::vector< std::unique_ptr< AvailabilityNode > > | childNodes |
The child nodes for this subtree node. | |
Availability nodes wrap subtree objects and link them together to form a downwardly traversable availability tree.
Definition at line 44 of file Availability.h.
|
noexcept |
Sets the loaded subtree for this availability node.
subtree_ | The loaded subtree to set for this node. |
maxChildrenSubtrees | The maximum number of children this subtree could possible have if all of them happen to be available. |
std::optional<AvailabilitySubtree> CesiumGeometry::AvailabilityNode::subtree |
The subtree data for this node.
If a node exists but its subtree does not exist, it indicates that the subtree is known to be available and is actively in the process of loading.
Definition at line 51 of file Availability.h.