summaryrefslogtreecommitdiffstats
path: root/source/render/render_vulkan.h
blob: 36116aa8f21e61fbebb40ca6206dd157379c5c9c (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 RENDER_VULKAN_H
#define RENDER_VULKAN_H

//- generic window description
typedef struct WinParams WinParams;
struct WinParams {
 void *window_handle;
 int width;
 int height;
 int display_x;
 int display_y;
 const char *name;
 };


 typedef struct Params Params;
 struct Params {
 const char *name;
 int width;
 int height;
 // VkExtensionProperties *vk_properties;
 // VkInstance            *vk_instance;
};

internal void vk_render_entrypoint(Arena *arena, WinParams *engine, Params *window);

#endif // RENDER_VULKAN_H