|
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, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo) |
| General purpose memory allocation. More...
|
|
VkResult | vmaAllocateMemoryForBuffer (VmaAllocator allocator, VkBuffer buffer, const VmaMemoryRequirements *pMemoryRequirements, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo) |
|
VkResult | vmaAllocateMemoryForImage (VmaAllocator allocator, VkImage image, const VmaMemoryRequirements *pMemoryRequirements, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo) |
| Function similar to vmaAllocateMemoryForBuffer(). More...
|
|
void | vmaFreeMemory (VmaAllocator allocator, VmaAllocation allocation) |
| Frees memory previously allocated using vmaAllocateMemory(), vmaAllocateMemoryForBuffer(), or vmaAllocateMemoryForImage(). More...
|
|
void | vmaGetAllocationInfo (VmaAllocator allocator, VmaAllocation allocation, VmaAllocationInfo *pAllocationInfo) |
| Returns current information about specified allocation. More...
|
|
void | vmaSetAllocationUserData (VmaAllocator allocator, VmaAllocation allocation, void *pUserData) |
| Sets pUserData in given allocation to new value. More...
|
|
VkResult | vmaMapMemory (VmaAllocator allocator, VmaAllocation allocation, void **ppData) |
|
void | vmaUnmapMemory (VmaAllocator allocator, VmaAllocation allocation) |
|
void | vmaUnmapPersistentlyMappedMemory (VmaAllocator allocator) |
| Unmaps persistently mapped memory of types that is HOST_COHERENT and DEVICE_LOCAL. More...
|
|
VkResult | vmaMapPersistentlyMappedMemory (VmaAllocator allocator) |
| Maps back persistently mapped memory of types that is HOST_COHERENT and DEVICE_LOCAL. More...
|
|
VkResult | vmaDefragment (VmaAllocator allocator, VmaAllocation *pAllocations, size_t allocationCount, VkBool32 *pAllocationsChanged, const VmaDefragmentationInfo *pDefragmentationInfo, VmaDefragmentationStats *pDefragmentationStats) |
| Compacts memory by moving allocations. More...
|
|
VkResult | vmaCreateBuffer (VmaAllocator allocator, const VkBufferCreateInfo *pCreateInfo, const VmaMemoryRequirements *pMemoryRequirements, VkBuffer *pBuffer, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo) |
|
void | vmaDestroyBuffer (VmaAllocator allocator, VkBuffer buffer, VmaAllocation allocation) |
|
VkResult | vmaCreateImage (VmaAllocator allocator, const VkImageCreateInfo *pCreateInfo, const VmaMemoryRequirements *pMemoryRequirements, VkImage *pImage, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo) |
| Function similar to vmaCreateBuffer(). More...
|
|
void | vmaDestroyImage (VmaAllocator allocator, VkImage image, VmaAllocation allocation) |
|