Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
21 lines
564 B
C++
21 lines
564 B
C++
#pragma once
|
|
|
|
#include <mbgl/gfx/backend.hpp>
|
|
#include <mbgl/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
|