cesium-native  0.41.0
ViewUpdateResult.h
1 #pragma once
2 
3 #include "Library.h"
4 
5 #include <cstdint>
6 #include <unordered_set>
7 #include <vector>
8 
9 namespace Cesium3DTilesSelection {
10 class Tile;
11 
22 class CESIUM3DTILESSELECTION_API ViewUpdateResult final {
23 public:
31  std::vector<Tile*> tilesToRenderThisFrame;
32 
40  std::unordered_set<Tile*> tilesFadingOut;
41 
45  int32_t workerThreadTileLoadQueueLength = 0;
46 
50  int32_t mainThreadTileLoadQueueLength = 0;
51 
53  uint32_t tilesVisited = 0;
54  uint32_t culledTilesVisited = 0;
55  uint32_t tilesCulled = 0;
56  uint32_t tilesOccluded = 0;
57  uint32_t tilesWaitingForOcclusionResults = 0;
58  uint32_t tilesKicked = 0;
59  uint32_t maxDepthVisited = 0;
61 
62  int32_t frameNumber = 0;
63 };
64 
65 } // namespace Cesium3DTilesSelection
Reports the results of Tileset::updateView.
std::vector< Tile * > tilesToRenderThisFrame
The tiles that were selected by the tileset traversal this frame. These tiles should be rendered by t...
std::unordered_set< Tile * > tilesFadingOut
Tiles on this list are no longer selected for rendering.
Classes that implement the 3D Tiles standard.