HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VE_VmaMemoryAllocator Class Reference

#include <VE_Memory.h>

+ Inheritance diagram for VE_VmaMemoryAllocator:

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_VmaAllocationallocateMemory (const VkMemoryRequirements &, const VmaAllocationCreateInfo &info)
 
VE_Result< ImageAllocationallocateImage (const VkImageCreateInfo &, const VmaAllocationCreateInfo &info)
 
VE_Result< BufferAllocationallocateBuffer (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
 

Detailed Description

Definition at line 62 of file VE_Memory.h.

Member Typedef Documentation

Definition at line 87 of file VE_Memory.h.

Definition at line 86 of file VE_Memory.h.

Member Function Documentation

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 VE_Result<VE_VmaMemoryAllocator> VE_VmaMemoryAllocator::create ( VkInstance  ,
VkPhysicalDevice  ,
VkDevice  ,
uint32_t  req_ver,
VmaAllocatorCreateFlags  flags 
)
static
void VE_VmaMemoryAllocator::destroy ( )
VE_VoidResult VE_VmaMemoryAllocator::init ( VkInstance  ,
VkPhysicalDevice  ,
VkDevice  ,
uint32_t  req_ver,
VmaAllocatorCreateFlags  flags 
)
protected

Member Data Documentation

VmaAllocator VE_VmaMemoryAllocator::myAllocator = VK_NULL_HANDLE
protected

Definition at line 107 of file VE_Memory.h.


The documentation for this class was generated from the following file: