summaryrefslogtreecommitdiff
path: root/include/mbgl/renderer/bucket.hpp
blob: 1391f6e3e39e89868780aa3608c814efb67af317 (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_RENDERER_BUCKET
#define MBGL_RENDERER_BUCKET

#include <string>
#include <memory>
#include <mbgl/map/tile.hpp>
#include <mbgl/util/noncopyable.hpp>

namespace mbgl {

class Painter;
class StyleLayer;

class Bucket : private util::noncopyable {
public:
    virtual void render(Painter& painter, std::shared_ptr<StyleLayer> layer_desc, const Tile::ID& id, const mat4 &matrix) = 0;
    virtual bool hasData() const = 0;
    virtual ~Bucket() {}

};

}

#endif