summaryrefslogtreecommitdiffstats
path: root/src/cplusplus.h
blob: 23d6a8723490bbb5101e3d8b47cc4863a3c56442 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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