Files
RedScarfEngine/graphics/src/vulkan_pipeline.hpp
T
Piotr Krygier bf31b96a2e Add my own math library
GLM works only for C++ and I plan on moving to back to C. There is
a C port, but it would be good for me to figure out vertex math myself.
Hence, my own library has been created.
2023-08-10 09:43:26 +02:00

44 lines
595 B
C++

#ifndef RSE_VULKAN_PIPELINE_HPP
#define RSE_VULKAN_PIPELINE_HPP
#include <vector>
#include <vulkan/vulkan.hpp>
#include "vulkan_commons.h"
namespace rse::graphics::vulkanbase
{
/**
* @brief Create a graphics pipeline
*
* @param vulkan_state
* @return uint8_t
*/
uint8_t create_pipeline();
/**
* @brief Cleanup swapchain
*
* @param vulkan_state
*/
void cleanup_swapchain();
/**
* @brief Recreates swapchain
*
* @param vulkan_state
*/
void recreateSwapchain();
/**
* @brief Destroy all vulkan pipeline objects
*
* @param vulkan_state
*/
void destroy_pipeline();
}
#endif