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 HillshadeIlluminationDirection : PaintProperty<float> {
defaultValuembgl::style::HillshadeIlluminationDirection16     static float defaultValue() { return 335; }
17 };
18 
19 struct HillshadeIlluminationAnchor : PaintProperty<HillshadeIlluminationAnchorType> {
defaultValuembgl::style::HillshadeIlluminationAnchor20     static HillshadeIlluminationAnchorType defaultValue() { return HillshadeIlluminationAnchorType::Viewport; }
21 };
22 
23 struct HillshadeExaggeration : PaintProperty<float> {
defaultValuembgl::style::HillshadeExaggeration24     static float defaultValue() { return 0.5; }
25 };
26 
27 struct HillshadeShadowColor : PaintProperty<Color> {
defaultValuembgl::style::HillshadeShadowColor28     static Color defaultValue() { return Color::black(); }
29 };
30 
31 struct HillshadeHighlightColor : PaintProperty<Color> {
defaultValuembgl::style::HillshadeHighlightColor32     static Color defaultValue() { return Color::white(); }
33 };
34 
35 struct HillshadeAccentColor : PaintProperty<Color> {
defaultValuembgl::style::HillshadeAccentColor36     static Color defaultValue() { return Color::black(); }
37 };
38 
39 class HillshadePaintProperties : public Properties<
40     HillshadeIlluminationDirection,
41     HillshadeIlluminationAnchor,
42     HillshadeExaggeration,
43     HillshadeShadowColor,
44     HillshadeHighlightColor,
45     HillshadeAccentColor
46 > {};
47 
48 } // namespace style
49 } // namespace mbgl
50