summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/fill_layer_properties.cpp
blob: 55e5a58cce4b13ba96667ba19465d5a915147dad (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`.

#include <mbgl/style/layers/fill_layer_properties.hpp>

#include <mbgl/style/layers/fill_layer_impl.hpp>

namespace mbgl {
namespace style {

FillLayerProperties::FillLayerProperties(
    Immutable<FillLayer::Impl> impl_)
    : LayerProperties(std::move(impl_)) {}

FillLayerProperties::FillLayerProperties(
    Immutable<FillLayer::Impl> impl_,
    CrossfadeParameters crossfade_,
    FillPaintProperties::PossiblyEvaluated evaluated_)
  : LayerProperties(std::move(impl_)),
    crossfade(std::move(crossfade_)),
    evaluated(std::move(evaluated_)) {}

FillLayerProperties::~FillLayerProperties() = default;

const FillLayer::Impl& FillLayerProperties::layerImpl() const {
    return static_cast<const FillLayer::Impl&>(*baseImpl);
}

} // namespace style
} // namespace mbgl