Files
MapLibreParticleLab/include/mln/gfx/context_observer.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

21 lines
562 B
C++

#pragma once
#include <mln/gfx/backend.hpp>
#include <mln/shaders/shader_source.hpp>
#include <string>
namespace mln {
namespace gfx {
class ContextObserver {
public:
virtual void onPreCompileShader(shaders::BuiltIn, gfx::Backend::Type, const std::string&) {}
virtual void onPostCompileShader(shaders::BuiltIn, gfx::Backend::Type, const std::string&) {}
virtual void onShaderCompileFailed(shaders::BuiltIn, gfx::Backend::Type, const std::string&) {}
virtual void onRenderError(std::exception_ptr) {}
};
} // namespace gfx
} // namespace mln