#pragma once #include #include #include namespace Donut { auto vulkan_prepare_glfw() -> void; class VulkanRenderer { public: VulkanRenderer(); ~VulkanRenderer(); auto init(void* glfwWindow, int width, int height) -> bool; auto shutdown() -> void; auto init_im_gui() -> bool; auto draw_frame(const glm::vec4& clearColor, const std::function& buildUI = {}) -> void; 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; }; }