From a6501b5d7ad204c3b998c843c7ed68ef7be323ba Mon Sep 17 00:00:00 2001 From: gramanas Date: Wed, 5 Jun 2024 19:04:25 +0300 Subject: more vks, stupid mutlistep build, and imgui --- src/cplusplus.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/cplusplus.h') diff --git a/src/cplusplus.h b/src/cplusplus.h index 1e5f962..23d6a87 100644 --- a/src/cplusplus.h +++ b/src/cplusplus.h @@ -1,11 +1,24 @@ #ifndef CPLUSPLUS_H #define CPLUSPLUS_H +//#undef VKSETUP_IMPLEMENTATION +#include "vksetup.h" + #ifdef __cplusplus extern "C" { #endif -// cpp funcs + // cpp funcs + +void imgui_destroy(vks_context vk); +void init_imgui(vks_context vk); + +bool imgui_proc_event(SDL_Event* e); + +void imgui_new_frame(vks_context vk); + +void imgui_draw(); +void imgui_draw_cmd(VkCommandBuffer cmd); #ifdef __cplusplus } -- cgit v1.2.3