summaryrefslogblamecommitdiffstats
path: root/src/cplusplus.h
blob: 31c6fcdf629f0dfe0f291645c89a5db5f014a893 (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