summaryrefslogblamecommitdiffstats
path: root/src/cplusplus.h
blob: 23d6a8723490bbb5101e3d8b47cc4863a3c56442 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                   


                               



                  










                                         





                     
#ifndef CPLUSPLUS_H
#define CPLUSPLUS_H

//#undef VKSETUP_IMPLEMENTATION
#include "vksetup.h" 

#ifdef __cplusplus
extern "C" {
#endif

  // 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
}
#endif

#endif // CPLUSPLUS_H