MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / addLoadedSubtree

Method addLoadedSubtree

CesiumGeometry/src/QuadtreeAvailability.cpp:474–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472}
473
474bool QuadtreeAvailability::addLoadedSubtree(
475 AvailabilityNode* pNode,
476 AvailabilitySubtree&& newSubtree) noexcept {
477 if (!pNode || pNode->subtree) {
478 return false;
479 }
480
481 pNode->setLoadedSubtree(
482 std::move(newSubtree),
483 this->_maximumChildrenSubtrees);
484
485 return true;
486}
487
488std::optional<uint32_t> QuadtreeAvailability::findChildNodeIndex(
489 const QuadtreeTileID& tileID,

Callers

nothing calls this directly

Calls 1

setLoadedSubtreeMethod · 0.80

Tested by

no test coverage detected