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

Reports the results of Tileset::updateViewGroup. More...

#include <Cesium3DTilesSelection/ViewUpdateResult.h>

Public Attributes

std::vector< Tile::PointertilesToRenderThisFrame
 The tiles that were selected by the tileset traversal this frame. These tiles should be rendered by the client.
 
std::unordered_set< Tile::PointertilesFadingOut
 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::updateViewGroup is called.
 

Detailed Description

Reports the results of Tileset::updateViewGroup.

Users of a Tileset will call Tileset::updateViewGroup and receive this structure so that they can update the state of their rendering system accordingly. The tileset will internally keep track the state of the tiles throughout the selection process, and use this structure to provide information about the state changes of tiles to clients.

Definition at line 21 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 59 of file ViewUpdateResult.h.

◆ frameNumber

int32_t Cesium3DTilesSelection::ViewUpdateResult::frameNumber = 0

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

Definition at line 87 of file ViewUpdateResult.h.

◆ mainThreadTileLoadQueueLength

int32_t Cesium3DTilesSelection::ViewUpdateResult::mainThreadTileLoadQueueLength = 0

The number of tiles in the main thread load queue.

Definition at line 49 of file ViewUpdateResult.h.

◆ maxDepthVisited

uint32_t Cesium3DTilesSelection::ViewUpdateResult::maxDepthVisited = 0

The maximum depth of the tile tree visited this frame.

Definition at line 81 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 64 of file ViewUpdateResult.h.

◆ tilesFadingOut

std::unordered_set<Tile::Pointer> 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 39 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 77 of file ViewUpdateResult.h.

◆ tilesOccluded

uint32_t Cesium3DTilesSelection::ViewUpdateResult::tilesOccluded = 0

The number of tiles occluded this frame.

Definition at line 68 of file ViewUpdateResult.h.

◆ tilesToRenderThisFrame

std::vector<Tile::Pointer> 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 30 of file ViewUpdateResult.h.

◆ tilesVisited

uint32_t Cesium3DTilesSelection::ViewUpdateResult::tilesVisited = 0

The number of tiles visited during tileset traversal this frame.

Definition at line 54 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 73 of file ViewUpdateResult.h.

◆ workerThreadTileLoadQueueLength

int32_t Cesium3DTilesSelection::ViewUpdateResult::workerThreadTileLoadQueueLength = 0

The number of tiles in the worker thread load queue.

Definition at line 44 of file ViewUpdateResult.h.


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