summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/raster_layer_properties.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/layers/raster_layer_properties.hpp')
-rw-r--r--src/mbgl/style/layers/raster_layer_properties.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mbgl/style/layers/raster_layer_properties.hpp b/src/mbgl/style/layers/raster_layer_properties.hpp
index 08818c9fb3..c380ea471d 100644
--- a/src/mbgl/style/layers/raster_layer_properties.hpp
+++ b/src/mbgl/style/layers/raster_layer_properties.hpp
@@ -3,6 +3,8 @@
#pragma once
#include <mbgl/style/types.hpp>
+#include <mbgl/style/layer_properties.hpp>
+#include <mbgl/style/layers/raster_layer.hpp>
#include <mbgl/style/layout_property.hpp>
#include <mbgl/style/paint_property.hpp>
#include <mbgl/style/properties.hpp>
@@ -55,5 +57,18 @@ class RasterPaintProperties : public Properties<
RasterFadeDuration
> {};
+class RasterLayerProperties final : public LayerProperties {
+public:
+ explicit RasterLayerProperties(Immutable<RasterLayer::Impl>);
+ RasterLayerProperties(
+ Immutable<RasterLayer::Impl>,
+ RasterPaintProperties::PossiblyEvaluated);
+ ~RasterLayerProperties() override;
+
+ const RasterLayer::Impl& layerImpl() const;
+ // Data members.
+ RasterPaintProperties::PossiblyEvaluated evaluated;
+};
+
} // namespace style
} // namespace mbgl