Files
MapLibreParticleLab/src/mbgl/style/layer_impl.cpp
2016-06-02 14:51:39 -07:00

20 lines
421 B
C++

#include <mbgl/style/layer_impl.hpp>
namespace mbgl {
namespace style {
const std::string& Layer::Impl::bucketName() const {
return ref.empty() ? id : ref;
}
bool Layer::Impl::hasRenderPass(RenderPass pass) const {
return bool(passes & pass);
}
bool Layer::Impl::needsRendering() const {
return passes != RenderPass::None && visibility != VisibilityType::None;
}
} // namespace style
} // namespace mbgl