|
VkResult | vmaCreateAllocator (const VmaAllocatorCreateInfo *pCreateInfo, VmaAllocator *pAllocator) |
| Creates Allocator object. More...
|
|
void | vmaDestroyAllocator (VmaAllocator allocator) |
| Destroys allocator object. More...
|
|
void | vmaGetPhysicalDeviceProperties (VmaAllocator allocator, const VkPhysicalDeviceProperties **ppPhysicalDeviceProperties) |
|
void | vmaGetMemoryProperties (VmaAllocator allocator, const VkPhysicalDeviceMemoryProperties **ppPhysicalDeviceMemoryProperties) |
|
void | vmaGetMemoryTypeProperties (VmaAllocator allocator, uint32_t memoryTypeIndex, VkMemoryPropertyFlags *pFlags) |
| Given Memory Type Index, returns Property Flags of this memory type. More...
|
|
void | vmaCalculateStats (VmaAllocator allocator, VmaStats *pStats) |
| Retrieves statistics from current state of the Allocator. More...
|
|
void | vmaBuildStatsString (VmaAllocator allocator, char **ppStatsString, VkBool32 detailedMap) |
| Builds and returns statistics as string in JSON format. More...
|
|
void | vmaFreeStatsString (VmaAllocator allocator, char *pStatsString) |
|
VkResult | vmaFindMemoryTypeIndex (VmaAllocator allocator, uint32_t memoryTypeBits, const VmaMemoryRequirements *pMemoryRequirements, uint32_t *pMemoryTypeIndex) |
|
VkResult | vmaAllocateMemory (VmaAllocator allocator, const VkMemoryRequirements *pVkMemoryRequirements, const VmaMemoryRequirements *pVmaMemoryRequirements, VkMappedMemoryRange *pMemory, uint32_t *pMemoryTypeIndex) |
| General purpose memory allocation. More...
|
|
VkResult | vmaAllocateMemoryForBuffer (VmaAllocator allocator, VkBuffer buffer, const VmaMemoryRequirements *pMemoryRequirements, VkMappedMemoryRange *pMemory, uint32_t *pMemoryTypeIndex) |
|
VkResult | vmaAllocateMemoryForImage (VmaAllocator allocator, VkImage image, const VmaMemoryRequirements *pMemoryRequirements, VkMappedMemoryRange *pMemory, uint32_t *pMemoryTypeIndex) |
| Function similar to vmaAllocateMemoryForBuffer(). More...
|
|
void | vmaFreeMemory (VmaAllocator allocator, const VkMappedMemoryRange *pMemory) |
| Frees memory previously allocated using vmaAllocateMemoryForBuffer() or vmaAllocateMemoryForImage(). More...
|
|
VkResult | vmaMapMemory (VmaAllocator allocator, const VkMappedMemoryRange *pMemory, void **ppData) |
|
void | vmaUnmapMemory (VmaAllocator allocator, const VkMappedMemoryRange *pMemory) |
|
VkResult | vmaCreateBuffer (VmaAllocator allocator, const VkBufferCreateInfo *pCreateInfo, const VmaMemoryRequirements *pMemoryRequirements, VkBuffer *pBuffer, VkMappedMemoryRange *pMemory, uint32_t *pMemoryTypeIndex) |
|
void | vmaDestroyBuffer (VmaAllocator allocator, VkBuffer buffer) |
|
VkResult | vmaCreateImage (VmaAllocator allocator, const VkImageCreateInfo *pCreateInfo, const VmaMemoryRequirements *pMemoryRequirements, VkImage *pImage, VkMappedMemoryRange *pMemory, uint32_t *pMemoryTypeIndex) |
| Function similar to vmaCreateBuffer(). More...
|
|
void | vmaDestroyImage (VmaAllocator allocator, VkImage image) |
|