cesium-native 0.43.0
|
Availability nodes wrap AvailabilitySubtree 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. | |
Public Attributes | |
std::optional< AvailabilitySubtree > | subtree |
The subtree data for this node. | |
std::vector< std::unique_ptr< AvailabilityNode > > | childNodes |
The child nodes for this subtree node. | |
Availability nodes wrap AvailabilitySubtree objects and link them together to form a downwardly traversable availability tree.
Definition at line 92 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::vector<std::unique_ptr<AvailabilityNode> > CesiumGeometry::AvailabilityNode::childNodes |
The child nodes for this subtree node.
Definition at line 104 of file Availability.h.
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 99 of file Availability.h.