Files
MapLibreParticleLab/include/llmr/renderer/bucket.hpp
Konstantin Käfer 2b14579986 only paint layer if it has data
refs #184
2014-05-12 19:08:59 +02:00

22 lines
404 B
C++

#ifndef LLMR_RENDERER_BUCKET
#define LLMR_RENDERER_BUCKET
#include <string>
#include <llmr/map/tile.hpp>
#include <llmr/util/noncopyable.hpp>
namespace llmr {
class Painter;
class Bucket : private util::noncopyable {
public:
virtual void render(Painter& painter, const std::string& layer_name, const Tile::ID& id) = 0;
virtual bool hasData() const = 0;
virtual ~Bucket() {}
};
}
#endif