summaryrefslogtreecommitdiff
path: root/source/base/base_render.h
blob: c3d2c339a19b70dbe57405c1e86c9e4c27096634 (plain)
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 BASE_RENDER
#define BASE_RENDER

//- 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(MemArena *arena, WinParams *engine, Params *window);

#endif // BASE_RENDER