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