CesiumGS / CesiumGS/cesium-native
Add tilesMissingThisFrame to ViewUpdateResult, rather than putting unrenderable tiles in tilesToRenderThisFrame
Open
enhancement
- Dominant language
- C++
- Stars
- 623
- Forks
- 277
- PR merge metrics
- No merged PRs in 30d
Description
Tile with `ContentLoaded` usually receives the engine's render resources from the worker thread. Whereas, a tile with `Done` status has render resources from the main thread. Those resources are different. Engine receives `ViewUpdateResult` when calling `Tileset::updateView()` will expect render resources from the main thread, and `reintepret_cast<>` accordingly. However, currently, there are a mix of `ContentLoaded` and `Done` tiles in the `ViewUpdateResult` which will lead to undefined behavior when reintepret_cast
Contributor guide
Assessment
This issue has not been assessed yet.