diff options
| author | hachem <im@hachem.wtf> | 2026-08-20 22:20:49 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-20 22:20:49 +0200 |
| commit | 45baf48db974c66cfdc51f26cee191abbbd89a0b (patch) | |
| tree | b60c27506f1e1c37b7238161156c83e7e159fc12 /src/platform/vulkan/vulkan_renderer.h | |
| parent | 00bf9a8cce28ab1dbc77ba24428be12391c4a576 (diff) | |
[feat]: reduce renderer abstraction
Diffstat (limited to 'src/platform/vulkan/vulkan_renderer.h')
| -rw-r--r-- | src/platform/vulkan/vulkan_renderer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/platform/vulkan/vulkan_renderer.h b/src/platform/vulkan/vulkan_renderer.h index 0e643c1..e6920c5 100644 --- a/src/platform/vulkan/vulkan_renderer.h +++ b/src/platform/vulkan/vulkan_renderer.h @@ -47,6 +47,11 @@ namespace Donut auto set_free_fly(bool enabled) -> void; auto is_free_fly() const -> bool; + // Switch between the black-hole geodesic view and the world-builder scene + // view (grid/sphere/skybox drawn with real Vulkan geometry pipelines). + auto set_scene_mode(bool enabled) -> void; + auto is_scene_mode() const -> bool; + private: struct Impl; Impl* m_impl = nullptr; |
