summaryrefslogtreecommitdiff
path: root/include/mbgl/renderer/bucket.hpp
blob: 696bfb11105c1addfba84f4bce751baa2eaac2cf (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 <mbgl/map/tile.hpp>
#include <mbgl/util/noncopyable.hpp>

#include <string>

namespace mbgl {

class Painter;
class StyleLayer;

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

};

}

#endif