Files
RedScarfEngine/include/vulkanBase.hpp
T
2022-12-17 21:57:11 +01:00

43 lines
718 B
C++

/**
* @file vulkanBase.h
* @author Piotr Krygier (everyonecancode@gmail.com)
* @brief Vulkan wrapper functions used by other parts of Graphics component
* @version 0.1
* @date 2022-05-13
*
* @copyright Copyright (c) 2022
*
*/
#ifndef RSE_GRAPHICS_VULKANBASE_HPP
#define RSE_GRAPHICS_VULKANBASE_HPP
#include <cstdint>
namespace rse::graphics::vulkanbase
{
/**
* @brief Initialize Vulkan backend
*
* @return uint8_t 0 on success. Status code on failure
*/
uint8_t initVulkan();
/**
* @brief Deinitialize Vulkan backend
*
*/
void deinitVulkan();
/**
* @brief Draw frame on the screen.
*
*/
void drawFrame();
} /* namespace rse::graphics::vulkanbase */
#endif /* RSE_GRAPHICS_VULKANBASE_HPP */