Kohi Game Engine
vulkan_swapchain.h
Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include "vulkan_types.h"
16 
27  vulkan_context* context,
28  u32 width,
29  u32 height,
31  vulkan_swapchain* out_swapchain);
32 
44  vulkan_context* context,
45  u32 width,
46  u32 height,
47  vulkan_swapchain* swapchain);
48 
56  vulkan_context* context,
57  vulkan_swapchain* swapchain);
unsigned int u32
Unsigned 32-bit integer.
Definition: defines.h:25
u32 renderer_config_flags
Definition: renderer_types.h:200
The overall Vulkan context for the backend. Holds and maintains global renderer backend state,...
Definition: vulkan_types.h:564
Representation of the Vulkan swapchain.
Definition: vulkan_types.h:208
void vulkan_swapchain_create(vulkan_context *context, u32 width, u32 height, renderer_config_flags flags, vulkan_swapchain *out_swapchain)
Creates a new swapchain.
void vulkan_swapchain_recreate(vulkan_context *context, u32 width, u32 height, vulkan_swapchain *swapchain)
Recreates the given swapchain with the given width and height, replacing the internal swapchain with ...
void vulkan_swapchain_destroy(vulkan_context *context, vulkan_swapchain *swapchain)
Destroys the given swapchain.
This file contains a collection fo Vulkan-specific types used for the Vulkan backend.