mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 15:51:36 +00:00
18 lines
422 B
C
18 lines
422 B
C
|
#ifndef __QF_Vulkan_swapchain_h
|
||
|
#define __QF_Vulkan_swapchain_h
|
||
|
|
||
|
typedef struct qfv_swapchain_s {
|
||
|
VkDevice dev;
|
||
|
struct qfv_devfuncs_s *funcs;
|
||
|
VkSurfaceKHR surface;
|
||
|
VkSwapchainKHR swapchain;
|
||
|
int32_t numImages;
|
||
|
VkImage *images;
|
||
|
} qfv_swapchain_t;
|
||
|
|
||
|
struct vulkan_ctx_s;
|
||
|
qfv_swapchain_t *QFV_CreateSwapchain (struct vulkan_ctx_s *ctx,
|
||
|
VkSwapchainKHR old_swapchain);
|
||
|
|
||
|
#endif//__QF_Vulkan_swapchain_h
|