7#include <vulkan/vulkan.h>
29 const char* debugObjectName,
30 const void* srcData =
nullptr,
31 bool hostVisible =
true);
33 void Update(
const void* srcData,
size_t srcSize,
size_t dstOffset = 0);
39 size_t GetSize()
const;
40 BufferType GetType()
const;
42 void* GetMappedPointer();
46 friend class DestroyQueue;
49 VkBuffer mBuffer = VK_NULL_HANDLE;
50 VramAllocation mMemory;
51 BufferType mType = BufferType::Count;
53 void* mMappedPointer =
nullptr;
54 bool mHostVisible =
false;
bool Update()
Definition Engine.cpp:710