blob: e259b8609bbd7a0c446777cf83f73d1d7ccdc8a3 (
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
30
31
32
33
|
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include <mbgl/style/layers/background_layer_properties.hpp>
#include <mbgl/style/layers/background_layer_impl.hpp>
namespace mbgl {
namespace style {
BackgroundLayerProperties::BackgroundLayerProperties(
Immutable<BackgroundLayer::Impl> impl_)
: LayerProperties(std::move(impl_)) {}
BackgroundLayerProperties::BackgroundLayerProperties(
Immutable<BackgroundLayer::Impl> impl_,
CrossfadeParameters crossfade_,
BackgroundPaintProperties::PossiblyEvaluated evaluated_)
: LayerProperties(std::move(impl_)),
crossfade(std::move(crossfade_)),
evaluated(std::move(evaluated_)) {}
BackgroundLayerProperties::~BackgroundLayerProperties() = default;
unsigned long BackgroundLayerProperties::constantsMask() const noexcept {
return evaluated.constantsMask();
}
const BackgroundLayer::Impl& BackgroundLayerProperties::layerImpl() const {
return static_cast<const BackgroundLayer::Impl&>(*baseImpl);
}
} // namespace style
} // namespace mbgl
|