blob: 6f1566965405243df7719d2adb3aca48fd35bcd6 (
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
|
#ifndef MBGL_STYLE_RENDER_ITEM
#define MBGL_STYLE_RENDER_ITEM
namespace mbgl {
class StyleLayer;
class Tile;
class Bucket;
struct RenderItem {
inline RenderItem(const StyleLayer& layer_,
const Tile* tile_ = nullptr,
Bucket* bucket_ = nullptr)
: tile(tile_), bucket(bucket_), layer(layer_) {
}
const Tile* const tile;
Bucket* const bucket;
const StyleLayer& layer;
};
} // namespace mbgl
#endif
|