#pragma once #include #include #include namespace CesiumUtility { class CreditSource; } namespace CesiumRasterOverlays { class RasterOverlay; /** * @brief Parameters passed to \ref RasterOverlay::createTileProvider. */ struct CESIUMRASTEROVERLAYS_API CreateRasterOverlayTileProviderParameters { /** * @brief The external interfaces for use by the raster overlay tile provider. */ RasterOverlayExternals externals; /** * @brief The overlay that owns the overlay that is creating the tile * provider. * * If nullptr, this overlay is not aggregated, and the owner of the tile * provider is the overlay that created it. */ CesiumUtility::IntrusivePointer pOwner{nullptr}; /** * @brief The credit source that the new tile provider should use for its * credits. * * If nullptr, a new credit source will be created for the tile provider. */ std::shared_ptr pCreditSource{nullptr}; }; } // namespace CesiumRasterOverlays