blob: 9dc27a274ab815ec1e78a275bbd0ea510a6312be (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
// This file is generated. Do not edit.
#pragma once
#include <mbgl/style/layer.hpp>
namespace mbgl {
class RasterLayer : public Layer {
public:
RasterLayer(const std::string& layerID);
~RasterLayer() final;
// Source
void setSource(const std::string& sourceID);
const std::string& getSourceID() const;
// Paint properties
Function<float> getRasterOpacity() const;
void setRasterOpacity(Function<float>);
Function<float> getRasterHueRotate() const;
void setRasterHueRotate(Function<float>);
Function<float> getRasterBrightnessMin() const;
void setRasterBrightnessMin(Function<float>);
Function<float> getRasterBrightnessMax() const;
void setRasterBrightnessMax(Function<float>);
Function<float> getRasterSaturation() const;
void setRasterSaturation(Function<float>);
Function<float> getRasterContrast() const;
void setRasterContrast(Function<float>);
Function<float> getRasterFadeDuration() const;
void setRasterFadeDuration(Function<float>);
// Private implementation
class Impl;
Impl* const impl;
RasterLayer(const Impl&);
RasterLayer(const RasterLayer&) = delete;
};
template <>
inline bool Layer::is<RasterLayer>() const {
return type == Type::Raster;
}
} // namespace mbgl
|