1 // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
2 
3 #pragma once
4 
5 #include <mbgl/style/types.hpp>
6 #include <mbgl/style/layout_property.hpp>
7 #include <mbgl/style/paint_property.hpp>
8 #include <mbgl/style/properties.hpp>
9 #include <mbgl/programs/attributes.hpp>
10 #include <mbgl/programs/uniforms.hpp>
11 
12 namespace mbgl {
13 namespace style {
14 
15 struct RasterOpacity : PaintProperty<float> {
defaultValuembgl::style::RasterOpacity16     static float defaultValue() { return 1; }
17 };
18 
19 struct RasterHueRotate : PaintProperty<float> {
defaultValuembgl::style::RasterHueRotate20     static float defaultValue() { return 0; }
21 };
22 
23 struct RasterBrightnessMin : PaintProperty<float> {
defaultValuembgl::style::RasterBrightnessMin24     static float defaultValue() { return 0; }
25 };
26 
27 struct RasterBrightnessMax : PaintProperty<float> {
defaultValuembgl::style::RasterBrightnessMax28     static float defaultValue() { return 1; }
29 };
30 
31 struct RasterSaturation : PaintProperty<float> {
defaultValuembgl::style::RasterSaturation32     static float defaultValue() { return 0; }
33 };
34 
35 struct RasterContrast : PaintProperty<float> {
defaultValuembgl::style::RasterContrast36     static float defaultValue() { return 0; }
37 };
38 
39 struct RasterResampling : PaintProperty<RasterResamplingType> {
defaultValuembgl::style::RasterResampling40     static RasterResamplingType defaultValue() { return RasterResamplingType::Linear; }
41 };
42 
43 struct RasterFadeDuration : PaintProperty<float> {
defaultValuembgl::style::RasterFadeDuration44     static float defaultValue() { return 300; }
45 };
46 
47 class RasterPaintProperties : public Properties<
48     RasterOpacity,
49     RasterHueRotate,
50     RasterBrightnessMin,
51     RasterBrightnessMax,
52     RasterSaturation,
53     RasterContrast,
54     RasterResampling,
55     RasterFadeDuration
56 > {};
57 
58 } // namespace style
59 } // namespace mbgl
60