Add create/resize/destroy_swapchain functions to RenderDriver

This commit is contained in:
2025-04-18 20:43:17 +10:00
parent b23d2d9c3c
commit 47a07ea6a8
4 changed files with 192 additions and 0 deletions

View File

@@ -37,5 +37,9 @@ namespace Nova {
// TODO: set_surface_size
// TODO: set_surface_mode
// TODO: set_surface_state
[[nodiscard]] virtual SwapchainID create_swapchain(SurfaceID surface) = 0;
virtual void resize_swapchain(SwapchainID swapchain) = 0;
virtual void destroy_swapchain(SwapchainID swapchain) = 0;
};
} // namespace Nova