Files
MapLibreParticleLab/include/mbgl/style/conversion/layer.hpp
2023-03-17 13:51:59 +02:00

24 lines
498 B
C++

#pragma once
#include <mbgl/style/layer.hpp>
#include <mbgl/style/conversion.hpp>
#include <memory>
#include <optional>
namespace mbgl {
namespace style {
namespace conversion {
template <>
struct Converter<std::unique_ptr<Layer>> {
public:
std::optional<std::unique_ptr<Layer>> operator()(const Convertible& value, Error& error) const;
};
std::optional<Error> setPaintProperties(Layer& layer, const Convertible& value);
} // namespace conversion
} // namespace style
} // namespace mbgl