aboutsummaryrefslogtreecommitdiffstats
path: root/src/mbgl/style/layers/terrain_layer_properties.hpp
blob: ad058b0e35cc88c81a6fc4157e2c7f512d1eeef1 (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
// 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 TerrainPaintProperties {
public:
    void cascade(const CascadeParameters&);
    bool recalculate(const CalculationParameters&);

    PaintProperty<Color> terrainShadowColor { { 0, 0, 1, 1 } };
    PaintProperty<Color> terrainHighlightColor { { 1, 1, 0, 1 } };
    PaintProperty<Color> terrainAccentColor { Color::black() };
    PaintProperty<float> terrainIlluminationDirection { 135 };
    PaintProperty<AlignmentType> terrainIlluminationAlignment { AlignmentType::Viewport };
    PaintProperty<float> terrainExaggeration { 1 };
};

} // namespace style
} // namespace mbgl