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

Method addLoadedSubtree

CesiumGeometry/src/OctreeAvailability.cpp:463–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463bool OctreeAvailability::addLoadedSubtree(
464 AvailabilityNode* pNode,
465 AvailabilitySubtree&& newSubtree) noexcept {
466 if (!pNode || pNode->subtree) {
467 return false;
468 }
469
470 pNode->setLoadedSubtree(
471 std::move(newSubtree),
472 this->_maximumChildrenSubtrees);
473
474 return true;
475}
476
477std::optional<uint32_t> OctreeAvailability::findChildNodeIndex(
478 const OctreeTileID& tileID,

Callers 1

Calls 1

setLoadedSubtreeMethod · 0.80

Tested by

no test coverage detected