projects
/
vkrt
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
forgot to include ui.[hc] in the repo
[vkrt]
/
src
/
ui.h
1
#ifndef UI_H
2
#define UI_H
3
4
#include "vk.h"
5
6
struct vk_swapchain
7
{
8
VkSwapchainKHR swapchain;
9
VkSurfaceKHR surface;
10
VkSurfaceFormatKHR surf_fmt;
11
uint32_t num_images;
12
VkExtent2D extent2d;
13
};
14
15
/* swapchain */
16
bool
17
vk_create_swapchain(struct vk_ctx *ctx,
18
struct vk_swapchain *swapchain);
19
void
20
vk_destroy_swapchain(struct vk_ctx *ctx,
21
struct vk_swapchain *swapchain);
22
23
#endif /* UI_H */