diff options
author | grm <grm@eyesin.space> | 2024-06-05 19:04:25 +0300 |
---|---|---|
committer | grm <grm@eyesin.space> | 2024-06-05 19:04:25 +0300 |
commit | 181edce08e0b914b7274571b7feb1ea8b1f341d8 (patch) | |
tree | 1a442e6095abf160e36baa31a319858774cd1178 /src/cplusplus.h | |
parent | 294e3409d007c29f17c6551acbc9f9199a044b0c (diff) | |
download | cgame-181edce08e0b914b7274571b7feb1ea8b1f341d8.tar.gz cgame-181edce08e0b914b7274571b7feb1ea8b1f341d8.tar.bz2 cgame-181edce08e0b914b7274571b7feb1ea8b1f341d8.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 } |