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:
1 parent
e7b9d4a32f
commit
34665e1c2e
5 files changed
+177
-29
No files matched your search
@@ -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 */
|
||||
Reference in new issue
Block a user