diff options
Diffstat (limited to 'src/mbgl/style/layers/fill_layer_properties.hpp')
-rw-r--r-- | src/mbgl/style/layers/fill_layer_properties.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mbgl/style/layers/fill_layer_properties.hpp b/src/mbgl/style/layers/fill_layer_properties.hpp index 942733f2e1..f76aee448b 100644 --- a/src/mbgl/style/layers/fill_layer_properties.hpp +++ b/src/mbgl/style/layers/fill_layer_properties.hpp @@ -3,6 +3,8 @@ #pragma once #include <mbgl/style/types.hpp> +#include <mbgl/style/layer_properties.hpp> +#include <mbgl/style/layers/fill_layer.hpp> #include <mbgl/style/layout_property.hpp> #include <mbgl/style/paint_property.hpp> #include <mbgl/style/properties.hpp> @@ -50,5 +52,20 @@ class FillPaintProperties : public Properties< FillPattern > {}; +class FillLayerProperties final : public LayerProperties { +public: + explicit FillLayerProperties(Immutable<FillLayer::Impl>); + FillLayerProperties( + Immutable<FillLayer::Impl>, + CrossfadeParameters, + FillPaintProperties::PossiblyEvaluated); + ~FillLayerProperties() override; + + const FillLayer::Impl& layerImpl() const; + // Data members. + CrossfadeParameters crossfade; + FillPaintProperties::PossiblyEvaluated evaluated; +}; + } // namespace style } // namespace mbgl |