summaryrefslogtreecommitdiff
path: root/src/mbgl/layer/raster_layer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/layer/raster_layer.hpp')
-rw-r--r--src/mbgl/layer/raster_layer.hpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/mbgl/layer/raster_layer.hpp b/src/mbgl/layer/raster_layer.hpp
deleted file mode 100644
index d473505d56..0000000000
--- a/src/mbgl/layer/raster_layer.hpp
+++ /dev/null
@@ -1,40 +0,0 @@
-#pragma once
-
-#include <mbgl/style/style_layer.hpp>
-#include <mbgl/style/paint_property.hpp>
-
-namespace mbgl {
-
-class RasterPaintProperties {
-public:
- PaintProperty<float> rasterOpacity { 1.0f };
- PaintProperty<float> rasterHueRotate { 0.0f };
- PaintProperty<float> rasterBrightnessMin { 0.0f };
- PaintProperty<float> rasterBrightnessMax { 1.0f };
- PaintProperty<float> rasterSaturation { 0.0f };
- PaintProperty<float> rasterContrast { 0.0f };
- PaintProperty<float> rasterFadeDuration { 0.0f };
-};
-
-class RasterLayer : public StyleLayer {
-public:
- RasterLayer() : StyleLayer(Type::Raster) {}
- std::unique_ptr<StyleLayer> clone() const override;
-
- void parseLayout(const JSValue&) override {};
- void parsePaints(const JSValue&) override;
-
- void cascade(const StyleCascadeParameters&) override;
- bool recalculate(const StyleCalculationParameters&) override;
-
- std::unique_ptr<Bucket> createBucket(StyleBucketParameters&) const override;
-
- RasterPaintProperties paint;
-};
-
-template <>
-inline bool StyleLayer::is<RasterLayer>() const {
- return type == Type::Raster;
-}
-
-} // namespace mbgl