diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2024-06-05 19:04:25 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2024-06-05 19:04:25 +0300 |
commit | a6501b5d7ad204c3b998c843c7ed68ef7be323ba (patch) | |
tree | 1a442e6095abf160e36baa31a319858774cd1178 /src/cplusplus.h | |
parent | 6af7e785890a322f60c21a51e3d41cd9015e6773 (diff) | |
download | cgame-a6501b5d7ad204c3b998c843c7ed68ef7be323ba.tar.gz cgame-a6501b5d7ad204c3b998c843c7ed68ef7be323ba.tar.bz2 cgame-a6501b5d7ad204c3b998c843c7ed68ef7be323ba.zip |
more vks, stupid mutlistep build, and imgui
Diffstat (limited to 'src/cplusplus.h')
-rw-r--r-- | src/cplusplus.h | 15 |
1 files changed, 14 insertions, 1 deletions
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 } |