cesium-native 0.47.0
Loading...
Searching...
No Matches
TileLoadTask.h
1#pragma once
2
4
5class Tile;
6
17 Preload = 0,
18
23 Normal = 1,
24
30 Urgent = 2
31};
32
42
51
57 double priority;
58
70 bool operator<(const TileLoadTask& rhs) const noexcept {
71 if (this->group == rhs.group)
72 return this->priority > rhs.priority;
73 else
74 return this->group < rhs.group;
75 }
76};
77
78} // namespace Cesium3DTilesSelection
A tile in a Tileset.
Definition Tile.h:122
Classes that implement the 3D Tiles standard.
TileLoadPriorityGroup
Enumerates broad categories of priority for loading a Cesium3DTilesSelection::Tile for a Cesium3DTile...
@ Preload
Low priority tiles that aren't needed right now, but are being preloaded for the future.
@ Urgent
High priority tiles whose absence is causing extra detail to be rendered in the scene,...
@ Normal
Medium priority tiles that are needed to render the current view at the appropriate level-of-detail.
Represents the need to load a particular Cesium3DTilesSelection::Tile with a particular priority.
bool operator<(const TileLoadTask &rhs) const noexcept
Determines whether this task has a lower priority (higher numerical value) than another one.
double priority
The priority of this tile within its priority group.
TileLoadPriorityGroup group
The priority group (low / medium / high) in which to load this tile.
Tile * pTile
The tile to be loaded.