cesium-native
0.41.0
|
Reports the results of Tileset::updateView. More...
#include <Cesium3DTilesSelection/ViewUpdateResult.h>
Public Attributes | |
std::vector< Tile * > | tilesToRenderThisFrame |
The tiles that were selected by the tileset traversal this frame. These tiles should be rendered by the client. More... | |
std::unordered_set< Tile * > | tilesFadingOut |
Tiles on this list are no longer selected for rendering. More... | |
int32_t | workerThreadTileLoadQueueLength = 0 |
The number of tiles in the worker thread load queue. | |
int32_t | mainThreadTileLoadQueueLength = 0 |
The number of tiles in the main thread load queue. | |
int32_t | frameNumber = 0 |
Reports the results of Tileset::updateView.
Users of a Tileset will call Tileset::updateView and receive this structure so that they can update the state of their rendering system accordingly. The tileset will internally keep track the current state of the tiles as their Tile::getLastSelectionState throughout the rendering process, and use this structure to provide information about the state changes of tiles to clients.
Definition at line 22 of file ViewUpdateResult.h.
std::unordered_set<Tile*> Cesium3DTilesSelection::ViewUpdateResult::tilesFadingOut |
Tiles on this list are no longer selected for rendering.
If TilesetOptions::enableLodTransitionPeriod is true they may be fading out. If a tile's {TileRenderContent::lodTransitionPercentage} is 0 or lod transitions are disabled, the tile should be hidden right away.
Definition at line 40 of file ViewUpdateResult.h.
std::vector<Tile*> Cesium3DTilesSelection::ViewUpdateResult::tilesToRenderThisFrame |
The tiles that were selected by the tileset traversal this frame. These tiles should be rendered by the client.
Tiles in this list may be fading in if TilesetOptions::enableLodTransitionPeriod is true.
Definition at line 31 of file ViewUpdateResult.h.