Files
MapLibreParticleLab/src/mbgl/renderer/debug_bucket.hpp
2015-11-27 17:47:02 +02:00

32 lines
648 B
C++

#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>
#include <mbgl/util/chrono.hpp>
namespace mbgl {
class PlainShader;
class DebugBucket : private util::noncopyable {
public:
DebugBucket(TileID id, TileData::State, Seconds modified, Seconds expires);
void drawLines(PlainShader& shader);
void drawPoints(PlainShader& shader);
const TileData::State state;
const Seconds modified;
const Seconds expires;
private:
DebugFontBuffer fontBuffer;
VertexArrayObject array;
};
}
#endif