Change vertex buffer handling

Previously vertex data was only in shaders. I have removed it from there
and put hardcoded vertex data into cpp source code.
This commit is contained in:
Piotr Krygier committed 2022-12-14 14:16:30 +01:00
1 parent e7b9d4a32f
commit 34665e1c2e
5 files changed
+177 -29

No files matched your search

+16
View File
@@ -16,9 +16,25 @@
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 */