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

Method needsMainThreadLoading

Cesium3DTilesSelection/src/Tile.cpp:292–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292bool Tile::needsMainThreadLoading(
293 const GltfModifier* pModifier) const noexcept {
294 // Only render content needs main thread loading.
295 if (!this->isRenderContent())
296 return false;
297
298 if (this->getState() == TileLoadState::ContentLoaded)
299 return true;
300
301 if (pModifier && pModifier->needsMainThreadModification(*this))
302 return true;
303
304 return false;
305}
306
307void Tile::setParent(Tile* pParent) noexcept {
308 if (this->getReferenceCount() > 0) {

Callers 3

addToLoadQueueMethod · 0.80

Calls 3

isRenderContentMethod · 0.95
getStateMethod · 0.95

Tested by

no test coverage detected