Files
MapLibreParticleLab/include/mbgl/gl/layer_group_gl.hpp
2024-02-15 18:43:40 +02:00

41 lines
852 B
C++

#pragma once
#include <mbgl/renderer/layer_group.hpp>
namespace mbgl {
class PaintParameters;
namespace gl {
/**
A layer group for tile-based drawables
*/
class TileLayerGroupGL : public TileLayerGroup {
public:
TileLayerGroupGL(int32_t layerIndex, std::size_t initialCapacity, std::string name);
~TileLayerGroupGL() override {}
void upload(gfx::UploadPass&) override;
void render(RenderOrchestrator&, PaintParameters&) override;
protected:
};
/**
A layer group for non-tile-based drawables
*/
class LayerGroupGL : public LayerGroup {
public:
LayerGroupGL(int32_t layerIndex, std::size_t initialCapacity, std::string name);
~LayerGroupGL() override {}
void upload(gfx::UploadPass&) override;
void render(RenderOrchestrator&, PaintParameters&) override;
protected:
};
} // namespace gl
} // namespace mbgl