#pragma once #include #include #include namespace mbgl { class RenderBackgroundLayer: public RenderLayer { public: RenderBackgroundLayer(const style::BackgroundLayer::Impl&); ~RenderBackgroundLayer() final = default; std::unique_ptr clone() const override; void cascade(const style::CascadeParameters&) override; bool evaluate(const style::PropertyEvaluationParameters&) override; std::unique_ptr createBucket(const BucketParameters&, const std::vector&) const override; // Paint properties style::BackgroundPaintProperties::Unevaluated unevaluated; style::BackgroundPaintProperties::Evaluated evaluated; const style::BackgroundLayer::Impl* const impl; }; template <> inline bool RenderLayer::is() const { return type == style::LayerType::Background; } }