According to my own documentation, the project tree should look entirely different. Also, it should use CMake instead of Make. This commit introduces changes that will make my project tree to adhere to my own documentation.
43 lines
718 B
C++
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 */ |