summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/raster_layer_properties.hpp
blob: ddfb833e128d296cfff1538d647310deacc7e791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.

#pragma once

#include <mbgl/style/types.hpp>
#include <mbgl/style/layout_property.hpp>
#include <mbgl/style/paint_property.hpp>

namespace mbgl {
namespace style {

class CascadeParameters;
class CalculationParameters;

class RasterPaintProperties {
public:
    void cascade(const CascadeParameters&);
    bool recalculate(const CalculationParameters&);

    PaintProperty<float> rasterOpacity { 1 };
    PaintProperty<float> rasterHueRotate { 0 };
    PaintProperty<float> rasterBrightnessMin { 0 };
    PaintProperty<float> rasterBrightnessMax { 1 };
    PaintProperty<float> rasterSaturation { 0 };
    PaintProperty<float> rasterContrast { 0 };
    PaintProperty<float> rasterFadeDuration { 300 };
};

} // namespace style
} // namespace mbgl