493afb05e6
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>
28 lines
585 B
C
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 */
|