diff options
Diffstat (limited to 'src/platform/vulkan/vulkan_renderer.h')
| -rw-r--r-- | src/platform/vulkan/vulkan_renderer.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/platform/vulkan/vulkan_renderer.h b/src/platform/vulkan/vulkan_renderer.h index 0bf2395..3ea330d 100644 --- a/src/platform/vulkan/vulkan_renderer.h +++ b/src/platform/vulkan/vulkan_renderer.h @@ -5,7 +5,7 @@ namespace Donut { - void vulkan_prepare_glfw(); + auto vulkan_prepare_glfw() -> void; class VulkanRenderer { @@ -13,14 +13,14 @@ namespace Donut VulkanRenderer(); ~VulkanRenderer(); - bool init(void* glfwWindow, int width, int height); - void shutdown(); + auto init(void* glfwWindow, int width, int height) -> bool; + auto shutdown() -> void; - bool init_im_gui(); + auto init_im_gui() -> bool; - void draw_frame(const glm::vec4& clear_color, const std::function<void()>& build_ui = {}); + auto draw_frame(const glm::vec4& clearColor, const std::function<void()>& buildUI = {}) -> void; - void on_resize(int width, int height); + auto on_resize(int width, int height) -> void; private: struct Impl; |
