Files
RedScarfEngine/graphics/src/vulkan_swapchain.h
T
Piotr Krygier 493afb05e6 Initial commit
This is working repository now. I had to clean this up due to
my f_ups, that made this simple repo around 200MB large.

Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
2026-02-10 10:24:45 +01:00

28 lines
585 B
C

#ifndef VULKAN_SWAPCHAIN_H
#define VULKAN_SWAPCHAIN_H
#include "utilities/commons.h"
#include "graphics_context.h"
/**
* @brief Cleanup swapchain
*
*/
void cleanup_swapchain(struct graphics_context_t* context);
/**
* @brief Recreates swapchain
*
*/
void recreate_swapchain(struct graphics_context_t* context);
/**
* @brief Create a swapchain and framebuffers object
*
* @param context graphical context
* @return rse_err_t RSE_ERROR_NO_ERROR on success
*/
rse_err_t create_swapchain_and_framebuffers(struct graphics_context_t* context);
#endif /* VULKAN_SWAPCHAIN_H */