cesium-native
0.41.0
|
The loader interface to load the tile content. More...
#include <Cesium3DTilesSelection/TilesetContentLoader.h>
Public Member Functions | |
virtual | ~TilesetContentLoader ()=default |
Default virtual destructor. | |
virtual CesiumAsync::Future< TileLoadResult > | loadTileContent (const TileLoadInput &input)=0 |
Load the tile content. More... | |
virtual TileChildrenResult | createTileChildren (const Tile &tile, const CesiumGeospatial::Ellipsoid &ellipsoid CESIUM_DEFAULT_ELLIPSOID)=0 |
Create the tile's children. More... | |
The loader interface to load the tile content.
Definition at line 114 of file TilesetContentLoader.h.
|
pure virtual |
Create the tile's children.
Note that: when receiving RetryLater status, client needs to load this tile's content first or its parent's content. The reason is that some tileset formats store the tile's children along with its content or store a whole subtree for every n-th level tile (e.g Quantized Mesh format). So unless the tile's content or the root tile of the subtree the tile is in is loaded, the loader won't know how to create the tile's children.
tile | The tile to create children for. |
|
pure virtual |
Load the tile content.
input | The TileLoadInput that has the tile info and loading systems to load this tile's content |