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

Method needsWorkerThreadLoading

Cesium3DTilesSelection/src/Tile.cpp:277–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275} // namespace
276
277bool Tile::needsWorkerThreadLoading(
278 const GltfModifier* pModifier) const noexcept {
279 if (this->getState() == TileLoadState::Unloaded ||
280 this->getState() == TileLoadState::FailedTemporarily)
281 return true;
282
283 if (pModifier && pModifier->needsWorkerThreadModification(*this))
284 return true;
285
286 if (anyRasterOverlaysNeedLoading(*this))
287 return true;
288
289 return false;
290}
291
292bool Tile::needsMainThreadLoading(
293 const GltfModifier* pModifier) const noexcept {

Callers 3

addToLoadQueueMethod · 0.80

Calls 3

getStateMethod · 0.95

Tested by

no test coverage detected