Module |
|
Header |
/Engine/Source/Runtime/VulkanRHI/Public/VulkanMemory.h |
Include |
#include "VulkanMemory.h" |
Source |
/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp |
FBufferSuballocation * AllocateBuffer
(
uint32 Size,
VkBufferUsageFlags BufferUsageFlags,
VkMemoryPropertyFlags MemoryPropertyFlags,
const char * File,
uint32 Line
)
Returns a sub-allocation, as there can be space inside a previously allocated VkBuffer to be reused; to release a sub allocation, just delete the pointer.