diff options
Diffstat (limited to 'src/mbgl/style/layers/raster_layer_properties.hpp')
-rw-r--r-- | src/mbgl/style/layers/raster_layer_properties.hpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mbgl/style/layers/raster_layer_properties.hpp b/src/mbgl/style/layers/raster_layer_properties.hpp index c380ea471d..61aa32de2d 100644 --- a/src/mbgl/style/layers/raster_layer_properties.hpp +++ b/src/mbgl/style/layers/raster_layer_properties.hpp @@ -14,47 +14,47 @@ namespace mbgl { namespace style { -struct RasterOpacity : PaintProperty<float> { +struct RasterBrightnessMax : PaintProperty<float> { static float defaultValue() { return 1; } }; -struct RasterHueRotate : PaintProperty<float> { +struct RasterBrightnessMin : PaintProperty<float> { static float defaultValue() { return 0; } }; -struct RasterBrightnessMin : PaintProperty<float> { +struct RasterContrast : PaintProperty<float> { static float defaultValue() { return 0; } }; -struct RasterBrightnessMax : PaintProperty<float> { - static float defaultValue() { return 1; } +struct RasterFadeDuration : PaintProperty<float> { + static float defaultValue() { return 300; } }; -struct RasterSaturation : PaintProperty<float> { +struct RasterHueRotate : PaintProperty<float> { static float defaultValue() { return 0; } }; -struct RasterContrast : PaintProperty<float> { - static float defaultValue() { return 0; } +struct RasterOpacity : PaintProperty<float> { + static float defaultValue() { return 1; } }; struct RasterResampling : PaintProperty<RasterResamplingType> { static RasterResamplingType defaultValue() { return RasterResamplingType::Linear; } }; -struct RasterFadeDuration : PaintProperty<float> { - static float defaultValue() { return 300; } +struct RasterSaturation : PaintProperty<float> { + static float defaultValue() { return 0; } }; class RasterPaintProperties : public Properties< - RasterOpacity, - RasterHueRotate, - RasterBrightnessMin, RasterBrightnessMax, - RasterSaturation, + RasterBrightnessMin, RasterContrast, + RasterFadeDuration, + RasterHueRotate, + RasterOpacity, RasterResampling, - RasterFadeDuration + RasterSaturation > {}; class RasterLayerProperties final : public LayerProperties { |