HDK
|
#include <VE_Memory.h>
Classes | |
struct | Allocation |
struct | MappableAllocation |
Public Types | |
using | ImageAllocation = Allocation< VkImage > |
using | BufferAllocation = Allocation< VkBuffer > |
using | MappableImageAllocation = MappableAllocation< VkImage > |
using | MappableBufferAllocation = MappableAllocation< VkBuffer > |
Public Member Functions | |
void | destroy () |
VE_Result< VE_VmaAllocation > | allocateMemory (const VkMemoryRequirements &, const VmaAllocationCreateInfo &info) |
VE_Result< ImageAllocation > | allocateImage (const VkImageCreateInfo &, const VmaAllocationCreateInfo &info) |
VE_Result< BufferAllocation > | allocateBuffer (const VkBufferCreateInfo &, const VmaAllocationCreateInfo &info) |
VE_Result < VE_VmaMappableAllocation > | allocateMappableMemory (const VkMemoryRequirements &, const VmaAllocationCreateInfo &info) |
VE_Result < MappableBufferAllocation > | allocateMappableBuffer (const VkBufferCreateInfo &, const VmaAllocationCreateInfo &info) |
VE_Result < MappableImageAllocation > | allocateMappableImage (const VkImageCreateInfo &, const VmaAllocationCreateInfo &info) |
Static Public Member Functions | |
static VE_Result < VE_VmaMemoryAllocator > | create (VkInstance, VkPhysicalDevice, VkDevice, uint32_t req_ver, VmaAllocatorCreateFlags flags) |
Protected Member Functions | |
VE_VoidResult | init (VkInstance, VkPhysicalDevice, VkDevice, uint32_t req_ver, VmaAllocatorCreateFlags flags) |
Protected Attributes | |
VmaAllocator | myAllocator = VK_NULL_HANDLE |
Definition at line 62 of file VE_Memory.h.
using VE_VmaMemoryAllocator::BufferAllocation = Allocation<VkBuffer> |
Definition at line 87 of file VE_Memory.h.
using VE_VmaMemoryAllocator::ImageAllocation = Allocation<VkImage> |
Definition at line 86 of file VE_Memory.h.
using VE_VmaMemoryAllocator::MappableBufferAllocation = MappableAllocation<VkBuffer> |
Definition at line 89 of file VE_Memory.h.
using VE_VmaMemoryAllocator::MappableImageAllocation = MappableAllocation<VkImage> |
Definition at line 88 of file VE_Memory.h.
VE_Result<BufferAllocation> VE_VmaMemoryAllocator::allocateBuffer | ( | const VkBufferCreateInfo & | , |
const VmaAllocationCreateInfo & | info | ||
) |
VE_Result<ImageAllocation> VE_VmaMemoryAllocator::allocateImage | ( | const VkImageCreateInfo & | , |
const VmaAllocationCreateInfo & | info | ||
) |
VE_Result<MappableBufferAllocation> VE_VmaMemoryAllocator::allocateMappableBuffer | ( | const VkBufferCreateInfo & | , |
const VmaAllocationCreateInfo & | info | ||
) |
VE_Result<MappableImageAllocation> VE_VmaMemoryAllocator::allocateMappableImage | ( | const VkImageCreateInfo & | , |
const VmaAllocationCreateInfo & | info | ||
) |
VE_Result<VE_VmaMappableAllocation> VE_VmaMemoryAllocator::allocateMappableMemory | ( | const VkMemoryRequirements & | , |
const VmaAllocationCreateInfo & | info | ||
) |
VE_Result<VE_VmaAllocation> VE_VmaMemoryAllocator::allocateMemory | ( | const VkMemoryRequirements & | , |
const VmaAllocationCreateInfo & | info | ||
) |
|
static |
void VE_VmaMemoryAllocator::destroy | ( | ) |
|
protected |
|
protected |
Definition at line 107 of file VE_Memory.h.