cesium-native  0.41.0
CesiumGeometry::AvailabilityNode Struct Reference

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< AvailabilitySubtreesubtree
 The subtree data for this node. More...
 
std::vector< std::unique_ptr< AvailabilityNode > > childNodes
 The child nodes for this subtree node.
 

Detailed Description

Availability nodes wrap subtree objects and link them together to form a downwardly traversable availability tree.

Definition at line 44 of file Availability.h.

Member Function Documentation

◆ setLoadedSubtree()

void CesiumGeometry::AvailabilityNode::setLoadedSubtree ( AvailabilitySubtree &&  subtree_,
uint32_t  maxChildrenSubtrees 
)
noexcept

Sets the loaded subtree for this availability node.

Parameters
subtree_The loaded subtree to set for this node.
maxChildrenSubtreesThe maximum number of children this subtree could possible have if all of them happen to be available.

Member Data Documentation

◆ subtree

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.


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