blob: 4d49a52c72fc555d7c802a352862718702e5bb73 (
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
|
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once
#include <mbgl/style/types.hpp>
#include <mbgl/style/layout_property.hpp>
#include <mbgl/style/paint_property.hpp>
#include <mbgl/style/properties.hpp>
#include <mbgl/programs/attributes.hpp>
#include <mbgl/programs/uniforms.hpp>
namespace mbgl {
namespace style {
struct HeatmapRadius : DataDrivenPaintProperty<float, attributes::a_radius, uniforms::u_radius> {
static float defaultValue() { return 30; }
};
struct HeatmapWeight : DataDrivenPaintProperty<float, attributes::a_weight, uniforms::u_weight> {
static float defaultValue() { return 1; }
};
struct HeatmapIntensity : PaintProperty<float> {
static float defaultValue() { return 1; }
};
struct HeatmapColor : ColorRampProperty {
};
struct HeatmapOpacity : PaintProperty<float> {
static float defaultValue() { return 1; }
};
class HeatmapPaintProperties : public Properties<
HeatmapRadius,
HeatmapWeight,
HeatmapIntensity,
HeatmapColor,
HeatmapOpacity
> {};
} // namespace style
} // namespace mbgl
|