// 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 BackgroundColor : PaintProperty { static Color defaultValue() { return Color::black(); } }; struct BackgroundOpacity : PaintProperty { static float defaultValue() { return 1; } }; struct BackgroundPattern : CrossFadedPaintProperty { static expression::Image defaultValue() { return {}; } }; class BackgroundPaintProperties : public Properties< BackgroundColor, BackgroundOpacity, BackgroundPattern > {}; class BackgroundLayerProperties final : public LayerProperties { public: explicit BackgroundLayerProperties(Immutable); BackgroundLayerProperties( Immutable, CrossfadeParameters, BackgroundPaintProperties::PossiblyEvaluated); ~BackgroundLayerProperties() override; unsigned long constantsMask() const override; const BackgroundLayer::Impl& layerImpl() const; // Data members. CrossfadeParameters crossfade; BackgroundPaintProperties::PossiblyEvaluated evaluated; }; } // namespace style } // namespace mbgl // clang-format on