cesium-native 0.59.0
Loading...
Searching...
No Matches
ViewUpdateResult.h
1#pragma once
2
3#include <Cesium3DTilesSelection/Library.h>
4#include <Cesium3DTilesSelection/Tile.h>
5
6#include <cstdint>
7#include <unordered_set>
8#include <vector>
9
10namespace Cesium3DTilesSelection {
11
21class CESIUM3DTILESSELECTION_API ViewUpdateResult final {
22public:
30 std::vector<Tile::ConstPointer> tilesToRenderThisFrame;
31
38 std::vector<double> tileScreenSpaceErrorThisFrame;
39
48 std::unordered_set<Tile::ConstPointer> tilesFadingOut;
49
54
59
63 uint32_t tilesVisited = 0;
68 uint32_t culledTilesVisited = 0;
73 uint32_t tilesCulled = 0;
77 uint32_t tilesOccluded = 0;
86 uint32_t tilesKicked = 0;
90 uint32_t maxDepthVisited = 0;
91
96 int32_t frameNumber = 0;
97};
98
99} // namespace Cesium3DTilesSelection
Reports the results of Tileset::updateViewGroup.
uint32_t tilesVisited
The number of tiles visited during tileset traversal this frame.
int32_t mainThreadTileLoadQueueLength
The number of tiles in the main thread load queue.
std::vector< Tile::ConstPointer > tilesToRenderThisFrame
The tiles that were selected by the tileset traversal this frame. These tiles should be rendered by t...
int32_t workerThreadTileLoadQueueLength
The number of tiles in the worker thread load queue.
uint32_t maxDepthVisited
The maximum depth of the tile tree visited this frame.
uint32_t tilesCulled
The number of tiles that were skipped because they were culled during tileset traversal this frame.
uint32_t tilesOccluded
The number of tiles occluded this frame.
uint32_t culledTilesVisited
The number of culled tiles visited during tileset traversal this frame.
uint32_t tilesWaitingForOcclusionResults
The number of tiles still waiting to obtain a TileOcclusionState this frame.
std::vector< double > tileScreenSpaceErrorThisFrame
The computed screen space error of the tiles selected by the tileset traversal this frame....
int32_t frameNumber
The frame number. This is incremented every time Tileset::updateViewGroup is called.
uint32_t tilesKicked
The number of tiles kicked from the render list this frame.
std::unordered_set< Tile::ConstPointer > tilesFadingOut
Tiles on this list are no longer selected for rendering.
Classes that implement the 3D Tiles standard.