cesium-native 0.52.0
Loading...
Searching...
No Matches
RasterOverlayExternals.h
1#pragma once
2
3#include <CesiumAsync/AsyncSystem.h>
4#include <CesiumAsync/IAssetAccessor.h>
5#include <CesiumRasterOverlays/IPrepareRasterOverlayRendererResources.h>
6#include <CesiumRasterOverlays/Library.h>
7#include <CesiumUtility/CreditSystem.h>
8
9#include <spdlog/spdlog.h>
10
11#include <memory>
12
13namespace CesiumRasterOverlays {
14
18class CESIUMRASTEROVERLAYS_API RasterOverlayExternals final {
19public:
27 std::shared_ptr<CesiumAsync::IAssetAccessor> pAssetAccessor;
28
36 std::shared_ptr<IPrepareRasterOverlayRendererResources>
38
43
52 std::shared_ptr<CesiumUtility::CreditSystem> pCreditSystem;
53
59 std::shared_ptr<spdlog::logger> pLogger = spdlog::default_logger();
60};
61
62} // namespace CesiumRasterOverlays
A system for managing asynchronous requests and tasks.
Definition AsyncSystem.h:36
External interfaces used by a RasterOverlay.
std::shared_ptr< CesiumAsync::IAssetAccessor > pAssetAccessor
The CesiumAsync::IAssetAccessor that is used to download raster overlay tiles and other assets.
std::shared_ptr< CesiumUtility::CreditSystem > pCreditSystem
The CesiumUtility::CreditSystem that can be used to manage credit strings and periodically query whic...
CesiumAsync::AsyncSystem asyncSystem
The async system to use to do work in threads.
std::shared_ptr< spdlog::logger > pLogger
A spdlog logger that will receive log messages.
std::shared_ptr< IPrepareRasterOverlayRendererResources > pPrepareRendererResources
The IPrepareRasterOverlayRendererResources that is used to create renderer-specific resources for ras...
Classes for raster overlays, which allow draping massive 2D textures over a model.