Move back to C++
This commit is contained in:
13 files changed
+44
-83
No files matched your search
@@ -1,18 +0,0 @@
|
||||
/**
|
||||
* @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 VULKAN_BASE_H
|
||||
#define VULKAN_BASE_H
|
||||
|
||||
int initVulkan();
|
||||
void deinitVulkan();
|
||||
|
||||
#endif /* VULKAN_BASE_H */
|
||||
@@ -1,45 +0,0 @@
|
||||
/**
|
||||
* @file window.h
|
||||
* @author Piotr Krygier (everyonencancode@gmail.com)
|
||||
* @brief Window control system
|
||||
* @version 0.1
|
||||
* @date 2022-02-15
|
||||
*
|
||||
* @copyright Copyright (c) 2022
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef WINDOW_HANDLER_H
|
||||
#define WINDOW_HANDLER_H
|
||||
|
||||
/* Vulkan header MUST be included before glfw */
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
/**
|
||||
* @brief Initialize window
|
||||
*
|
||||
* @return uint16_t WINDOW_SUCCESS on success. Possible errors:
|
||||
* WINDOW_VULKAN_NOT_LOADED
|
||||
* WINDOW_WINDOW_NOT_CREATED
|
||||
*
|
||||
*/
|
||||
uint16_t windowInit();
|
||||
|
||||
/**
|
||||
* @brief Main window loop
|
||||
*
|
||||
* @return uint16_t WINDOW_SUCCESS or error code
|
||||
*/
|
||||
uint16_t windowLoop();
|
||||
|
||||
/**
|
||||
* @brief Closes window and terminates GLFW
|
||||
*
|
||||
*/
|
||||
void windowTerminate();
|
||||
|
||||
GLFWwindow* getWindowHandle();
|
||||
|
||||
#endif /* WINDOW_HANDLER_H */
|
||||
Reference in new issue
Block a user