blob: a5b163c0a3076d044d5bdf16901b965db859acdb (
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
|
#ifndef MBGL_RENDERER_DEBUGBUCKET
#define MBGL_RENDERER_DEBUGBUCKET
#include <mbgl/map/tile_data.hpp>
#include <mbgl/geometry/debug_font_buffer.hpp>
#include <mbgl/geometry/vao.hpp>
namespace mbgl {
class PlainShader;
class DebugBucket : private util::noncopyable {
public:
DebugBucket(TileID id, TileData::State);
void drawLines(PlainShader& shader);
void drawPoints(PlainShader& shader);
const TileData::State state;
private:
DebugFontBuffer fontBuffer;
VertexArrayObject array;
};
}
#endif
|