#pragma once #include #include namespace mbgl { class RenderCustomLayer: public RenderLayer { public: RenderCustomLayer(const style::CustomLayer::Impl&); ~RenderCustomLayer() final = default; std::unique_ptr clone() const override; void cascade(const style::CascadeParameters&) final {} bool evaluate(const style::PropertyEvaluationParameters&) final; std::unique_ptr createBucket(const BucketParameters&, const std::vector&) const final; const style::CustomLayer::Impl* const impl; }; template <> inline bool RenderLayer::is() const { return type == style::LayerType::Custom; } }