// clang-format off // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once #include #include #include #include #include #include #include #include namespace mbgl { namespace style { struct HillshadeAccentColor : PaintProperty { static Color defaultValue() { return Color::black(); } }; struct HillshadeExaggeration : PaintProperty { static float defaultValue() { return 0.5; } }; struct HillshadeHighlightColor : PaintProperty { static Color defaultValue() { return Color::white(); } }; struct HillshadeIlluminationAnchor : PaintProperty { static HillshadeIlluminationAnchorType defaultValue() { return HillshadeIlluminationAnchorType::Viewport; } }; struct HillshadeIlluminationDirection : PaintProperty { static float defaultValue() { return 335; } }; struct HillshadeShadowColor : PaintProperty { static Color defaultValue() { return Color::black(); } }; class HillshadePaintProperties : public Properties< HillshadeAccentColor, HillshadeExaggeration, HillshadeHighlightColor, HillshadeIlluminationAnchor, HillshadeIlluminationDirection, HillshadeShadowColor > {}; class HillshadeLayerProperties final : public LayerProperties { public: explicit HillshadeLayerProperties(Immutable); HillshadeLayerProperties( Immutable, HillshadePaintProperties::PossiblyEvaluated); ~HillshadeLayerProperties() override; unsigned long constantsMask() const override; const HillshadeLayer::Impl& layerImpl() const; // Data members. HillshadePaintProperties::PossiblyEvaluated evaluated; }; } // namespace style } // namespace mbgl // clang-format on