blob: 1a4719352551f729ced05d9125ad74e524a30362 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <mbgl/layer/custom_layer.hpp>
#include <mbgl/renderer/bucket.hpp>
namespace mbgl {
CustomLayer::CustomLayer(const std::string& id_) {
id = id_;
}
bool CustomLayer::recalculate(const StyleCalculationParameters&) {
passes = RenderPass::Translucent;
return false;
}
std::unique_ptr<Bucket> CustomLayer::createBucket(StyleBucketParameters&) const {
return nullptr;
}
} // namespace mbgl
|