summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/raster_layer_properties.cpp
blob: 4d9245a218fd3a001ccbf64e3c030a9de93ea845 (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
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.

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

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

namespace mbgl {
namespace style {

RasterLayerProperties::RasterLayerProperties(
    Immutable<RasterLayer::Impl> impl_)
    : LayerProperties(std::move(impl_)) {}

RasterLayerProperties::RasterLayerProperties(
    Immutable<RasterLayer::Impl> impl_,
    RasterPaintProperties::PossiblyEvaluated evaluated_)
  : LayerProperties(std::move(impl_)),
    evaluated(std::move(evaluated_)) {}

RasterLayerProperties::~RasterLayerProperties() = default;

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

} // namespace style
} // namespace mbgl