summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/terrain_layer_properties.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/layers/terrain_layer_properties.hpp')
-rw-r--r--src/mbgl/style/layers/terrain_layer_properties.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/mbgl/style/layers/terrain_layer_properties.hpp b/src/mbgl/style/layers/terrain_layer_properties.hpp
new file mode 100644
index 0000000000..ad058b0e35
--- /dev/null
+++ b/src/mbgl/style/layers/terrain_layer_properties.hpp
@@ -0,0 +1,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