cesium-native 0.47.0
Loading...
Searching...
No Matches
Cesium3DTilesSelection::TileLoadTask Struct Reference

Represents the need to load a particular Cesium3DTilesSelection::Tile with a particular priority. More...

#include <Cesium3DTilesSelection/TileLoadTask.h>

Public Member Functions

bool operator< (const TileLoadTask &rhs) const noexcept
 Determines whether this task has a lower priority (higher numerical value) than another one.
 

Public Attributes

TilepTile
 The tile to be loaded.
 
TileLoadPriorityGroup group
 The priority group (low / medium / high) in which to load this tile.
 
double priority
 The priority of this tile within its priority group.
 

Detailed Description

Represents the need to load a particular Cesium3DTilesSelection::Tile with a particular priority.

Definition at line 37 of file TileLoadTask.h.

Member Function Documentation

◆ operator<()

bool Cesium3DTilesSelection::TileLoadTask::operator< ( const TileLoadTask & rhs) const
inlinenoexcept

Determines whether this task has a lower priority (higher numerical value) than another one.

If used with std::sort, this operator will put the lowest priority tasks at the front of the container, and the highest priority tasks at the back.

Parameters
rhsThe other task to compare.
Returns
true if this task has the lower priority, or false if rhs has the lower priority.

Definition at line 70 of file TileLoadTask.h.

Member Data Documentation

◆ group

TileLoadPriorityGroup Cesium3DTilesSelection::TileLoadTask::group

The priority group (low / medium / high) in which to load this tile.

All tiles in a higher priority group are given a chance to load before any tiles in a lower priority group.

Definition at line 50 of file TileLoadTask.h.

◆ priority

double Cesium3DTilesSelection::TileLoadTask::priority

The priority of this tile within its priority group.

Tiles with a lower value for this property load sooner!

Definition at line 57 of file TileLoadTask.h.

◆ pTile

Tile* Cesium3DTilesSelection::TileLoadTask::pTile

The tile to be loaded.

Definition at line 41 of file TileLoadTask.h.


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