Rework API graphique Vulkan - EnTT pour ECS + Chargement modèle 3D assimp + SDL3 pour events input et fenetre + mesh texture camera transform ok + attention tous les assets nouveaus ne sont pas commités et il y a du code test en dur dans scene addentity + restructuration globale
This commit is contained in:
15
src/Engine/Core/Graphics/API/VMABuffer.hpp
Normal file
15
src/Engine/Core/Graphics/API/VMABuffer.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef VMABUFFER_HPP
|
||||
#define VMABUFFER_HPP
|
||||
|
||||
#include "vk_mem_alloc.h"
|
||||
|
||||
typedef struct vmaBufferStruct {
|
||||
VkBuffer buffer = VK_NULL_HANDLE;
|
||||
VmaAllocation allocation = VK_NULL_HANDLE;
|
||||
|
||||
void destroy(VmaAllocator allocator) {
|
||||
vmaDestroyBuffer(allocator, buffer, allocation);
|
||||
}
|
||||
}VMABuffer;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user