29 lines
896 B
C++
29 lines
896 B
C++
#pragma once
|
|
|
|
#include <mbgl/style/layer.hpp>
|
|
|
|
namespace mbgl::style {
|
|
|
|
class RasterParticleLayer final : public Layer {
|
|
public:
|
|
RasterParticleLayer(const std::string& layerID, const std::string& sourceID);
|
|
~RasterParticleLayer() override;
|
|
bool isActive() const;
|
|
void setActive(bool);
|
|
uint8_t getMaskMode() const;
|
|
void setMaskMode(uint8_t);
|
|
class Impl;
|
|
const Impl& impl() const;
|
|
Mutable<Impl> mutableImpl() const;
|
|
|
|
private:
|
|
explicit RasterParticleLayer(Immutable<Impl>);
|
|
std::optional<conversion::Error> setPropertyInternal(const std::string&, const conversion::Convertible&) override;
|
|
StyleProperty getProperty(const std::string&) const override;
|
|
Value serialize() const override;
|
|
std::unique_ptr<Layer> cloneRef(const std::string&) const override;
|
|
Mutable<Layer::Impl> mutableBaseImpl() const override;
|
|
};
|
|
|
|
} // namespace mbgl::style
|