hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/platform/vulkan/vulkan_renderer.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-20 16:51:57 +0200
committerhachem <im@hachem.wtf>2026-08-20 16:51:57 +0200
commit8b988912c2e808cc19faccdc784f4e3a888bd29f (patch)
tree6073ec9607ca39bb15fc0ef7a7559327fd4e49f8 /src/platform/vulkan/vulkan_renderer.h
parenteee975a13c29ddbc838284a941332b905a18b430 (diff)
chore: move ImGui HDRI switching to Vulkan
Diffstat (limited to 'src/platform/vulkan/vulkan_renderer.h')
-rw-r--r--src/platform/vulkan/vulkan_renderer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/platform/vulkan/vulkan_renderer.h b/src/platform/vulkan/vulkan_renderer.h
index 3ea330d..09e43d8 100644
--- a/src/platform/vulkan/vulkan_renderer.h
+++ b/src/platform/vulkan/vulkan_renderer.h
@@ -2,6 +2,7 @@
#include <glm/glm.hpp>
#include <functional>
+#include <string>
namespace Donut
{
@@ -22,6 +23,10 @@ namespace Donut
auto on_resize(int width, int height) -> void;
+ auto set_hdri(const std::string& path) -> void;
+
+ auto current_hdri() const -> const std::string&;
+
private:
struct Impl;
Impl* m_impl = nullptr;