cesium-native
0.41.0
|
Store the parameters that are needed to load a tile. More...
#include <Cesium3DTilesSelection/TilesetContentLoader.h>
Public Member Functions | |
TileLoadInput (const Tile &tile, const TilesetContentOptions &contentOptions, const CesiumAsync::AsyncSystem &asyncSystem, const std::shared_ptr< CesiumAsync::IAssetAccessor > &pAssetAccessor, const std::shared_ptr< spdlog::logger > &pLogger, const std::vector< CesiumAsync::IAssetAccessor::THeader > &requestHeaders, const CesiumGeospatial::Ellipsoid &ellipsoid CESIUM_DEFAULT_ELLIPSOID) | |
Creates a new instance. More... | |
Public Attributes | |
const Tile & | tile |
The tile that the TilesetContentLoader will request the server for the content. | |
const TilesetContentOptions & | contentOptions |
The content options the TilesetContentLoader will use to process the content of the tile. | |
const CesiumAsync::AsyncSystem & | asyncSystem |
The async system to run the loading in worker thread or main thread. | |
const std::shared_ptr< CesiumAsync::IAssetAccessor > & | pAssetAccessor |
The asset accessor to make requests for the tile content over the wire. | |
const std::shared_ptr< spdlog::logger > & | pLogger |
The logger that receives details of loading errors and warnings. | |
const std::vector< CesiumAsync::IAssetAccessor::THeader > & | requestHeaders |
The request headers that will be attached to the request. | |
const CesiumGeospatial::Ellipsoid & | ellipsoid |
The ellipsoid that this tileset uses. | |
Store the parameters that are needed to load a tile.
Definition at line 30 of file TilesetContentLoader.h.
Cesium3DTilesSelection::TileLoadInput::TileLoadInput | ( | const Tile & | tile, |
const TilesetContentOptions & | contentOptions, | ||
const CesiumAsync::AsyncSystem & | asyncSystem, | ||
const std::shared_ptr< CesiumAsync::IAssetAccessor > & | pAssetAccessor, | ||
const std::shared_ptr< spdlog::logger > & | pLogger, | ||
const std::vector< CesiumAsync::IAssetAccessor::THeader > & | requestHeaders, | ||
const CesiumGeospatial::Ellipsoid &ellipsoid | CESIUM_DEFAULT_ELLIPSOID | ||
) |
Creates a new instance.
tile | The Tile that the content belongs to. |
contentOptions | The content options the TilesetContentLoader will use to process the content of the tile. |
asyncSystem | The async system to use for tile content loading. |
pAssetAccessor | The asset accessor to make further requests with. |
pLogger | The logger that will be used |
requestHeaders | The request headers that will be attached to the request. |