cesium-native 0.48.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::Pointer> tilesToRenderThisFrame;
31
39 std::unordered_set<Tile::Pointer> tilesFadingOut;
40
45
50
54 uint32_t tilesVisited = 0;
59 uint32_t culledTilesVisited = 0;
64 uint32_t tilesCulled = 0;
68 uint32_t tilesOccluded = 0;
77 uint32_t tilesKicked = 0;
81 uint32_t maxDepthVisited = 0;
82
87 int32_t frameNumber = 0;
88};
89
90} // namespace Cesium3DTilesSelection
Reports the results of Tileset::updateViewGroup.
uint32_t tilesVisited
The number of tiles visited during tileset traversal this frame.
std::unordered_set< Tile::Pointer > tilesFadingOut
Tiles on this list are no longer selected for rendering.
int32_t mainThreadTileLoadQueueLength
The number of tiles in the main thread load queue.
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.
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::vector< Tile::Pointer > tilesToRenderThisFrame
The tiles that were selected by the tileset traversal this frame. These tiles should be rendered by t...
Classes that implement the 3D Tiles standard.