cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumGeometry::AvailabilityNode Struct Reference

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

Detailed Description

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

Definition at line 92 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

◆ childNodes

std::vector<std::unique_ptr<AvailabilityNode> > CesiumGeometry::AvailabilityNode::childNodes

The child nodes for this subtree node.

Definition at line 104 of file Availability.h.

◆ 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 99 of file Availability.h.


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