cesium-native 0.43.0
Loading...
Searching...
No Matches
Cesium3DTilesSelection::ViewUpdateResult Class Referencefinal

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.
 
std::unordered_set< Tile * > tilesFadingOut
 Tiles on this list are no longer selected for rendering.
 
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.
 
uint32_t tilesVisited = 0
 The number of tiles visited during tileset traversal this frame.
 
uint32_t culledTilesVisited = 0
 The number of culled tiles visited during tileset traversal this frame.
 
uint32_t tilesCulled = 0
 The number of tiles that were skipped because they were culled during tileset traversal this frame.
 
uint32_t tilesOccluded = 0
 The number of tiles occluded this frame.
 
uint32_t tilesWaitingForOcclusionResults = 0
 The number of tiles still waiting to obtain a TileOcclusionState this frame.
 
uint32_t tilesKicked = 0
 The number of tiles kicked from the render list this frame.
 
uint32_t maxDepthVisited = 0
 The maximum depth of the tile tree visited this frame.
 
int32_t frameNumber = 0
 The frame number. This is incremented every time Tileset::updateView is called.
 

Detailed Description

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.

Member Data Documentation

◆ culledTilesVisited

uint32_t Cesium3DTilesSelection::ViewUpdateResult::culledTilesVisited = 0

The number of culled tiles visited during tileset traversal this frame.

Definition at line 60 of file ViewUpdateResult.h.

◆ frameNumber

int32_t Cesium3DTilesSelection::ViewUpdateResult::frameNumber = 0

The frame number. This is incremented every time Tileset::updateView is called.

Definition at line 88 of file ViewUpdateResult.h.

◆ mainThreadTileLoadQueueLength

int32_t Cesium3DTilesSelection::ViewUpdateResult::mainThreadTileLoadQueueLength = 0

The number of tiles in the main thread load queue.

Definition at line 50 of file ViewUpdateResult.h.

◆ maxDepthVisited

uint32_t Cesium3DTilesSelection::ViewUpdateResult::maxDepthVisited = 0

The maximum depth of the tile tree visited this frame.

Definition at line 82 of file ViewUpdateResult.h.

◆ tilesCulled

uint32_t Cesium3DTilesSelection::ViewUpdateResult::tilesCulled = 0

The number of tiles that were skipped because they were culled during tileset traversal this frame.

Definition at line 65 of file ViewUpdateResult.h.

◆ tilesFadingOut

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.

◆ tilesKicked

uint32_t Cesium3DTilesSelection::ViewUpdateResult::tilesKicked = 0

The number of tiles kicked from the render list this frame.

Definition at line 78 of file ViewUpdateResult.h.

◆ tilesOccluded

uint32_t Cesium3DTilesSelection::ViewUpdateResult::tilesOccluded = 0

The number of tiles occluded this frame.

Definition at line 69 of file ViewUpdateResult.h.

◆ tilesToRenderThisFrame

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.

◆ tilesVisited

uint32_t Cesium3DTilesSelection::ViewUpdateResult::tilesVisited = 0

The number of tiles visited during tileset traversal this frame.

Definition at line 55 of file ViewUpdateResult.h.

◆ tilesWaitingForOcclusionResults

uint32_t Cesium3DTilesSelection::ViewUpdateResult::tilesWaitingForOcclusionResults = 0

The number of tiles still waiting to obtain a TileOcclusionState this frame.

Definition at line 74 of file ViewUpdateResult.h.

◆ workerThreadTileLoadQueueLength

int32_t Cesium3DTilesSelection::ViewUpdateResult::workerThreadTileLoadQueueLength = 0

The number of tiles in the worker thread load queue.

Definition at line 45 of file ViewUpdateResult.h.


The documentation for this class was generated from the following file: