Files
MapLibreParticleLab/include/mln/vulkan/offscreen_texture.hpp
Bart Louwers 2a8ebc4906 core: rename mbgl directories to mln (#4511)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-08-22 20:50:14 +02:00

24 lines
510 B
C++

#pragma once
#include <mln/gfx/offscreen_texture.hpp>
#include <mln/gfx/types.hpp>
namespace mln {
namespace vulkan {
class Context;
class Texture2D;
class OffscreenTexture final : public gfx::OffscreenTexture {
public:
OffscreenTexture(Context&, Size size, gfx::TextureChannelDataType type, bool depth, bool stencil);
bool isRenderable() override;
PremultipliedImage readStillImage() override;
const gfx::Texture2DPtr& getTexture() override;
};
} // namespace vulkan
} // namespace mln