From 4a72c63f74bc055c29f397f54fca8e9613f4474d Mon Sep 17 00:00:00 2001 From: hachem Date: Sun, 23 Aug 2026 22:39:47 +0200 Subject: feat: wire the scene into the simulation engine --- src/rendering/rhi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rendering/rhi.h') diff --git a/src/rendering/rhi.h b/src/rendering/rhi.h index 7684aa0..db0711b 100644 --- a/src/rendering/rhi.h +++ b/src/rendering/rhi.h @@ -102,6 +102,8 @@ namespace Donut::RHI virtual auto resize(int width, int height) -> void = 0; virtual auto wait_idle() -> void = 0; + virtual auto set_vsync(bool enabled) -> void { (void)enabled; } + virtual auto create_buffer(BufferType type, size_t size, const void* data = nullptr) -> Ref = 0; virtual auto create_texture(int width, int height, Format format, Filter filter, const void* data = nullptr) -> Ref = 0; virtual auto create_cubemap_from_hdri(const std::string& equirect_path) -> Ref = 0; -- cgit v1.3