|
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 | vmaSetCurrentFrameIndex (VmaAllocator allocator, uint32_t frameIndex) |
| Sets index of the current frame. 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 VmaAllocationCreateInfo *pAllocationCreateInfo, uint32_t *pMemoryTypeIndex) |
|
VkResult | vmaCreatePool (VmaAllocator allocator, const VmaPoolCreateInfo *pCreateInfo, VmaPool *pPool) |
| Allocates Vulkan device memory and creates VmaPool object. More...
|
|
void | vmaDestroyPool (VmaAllocator allocator, VmaPool pool) |
| Destroys VmaPool object and frees Vulkan device memory. More...
|
|
void | vmaGetPoolStats (VmaAllocator allocator, VmaPool pool, VmaPoolStats *pPoolStats) |
| Retrieves statistics of existing VmaPool object. More...
|
|
void | vmaMakePoolAllocationsLost (VmaAllocator allocator, VmaPool pool, size_t *pLostAllocationCount) |
| Marks all allocations in given pool as lost if they are not used in current frame or VmaPoolCreateInfo::frameInUseCount back from now. More...
|
|
VkResult | vmaAllocateMemory (VmaAllocator allocator, const VkMemoryRequirements *pVkMemoryRequirements, const VmaAllocationCreateInfo *pCreateInfo, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo) |
| General purpose memory allocation. More...
|
|
VkResult | vmaAllocateMemoryForBuffer (VmaAllocator allocator, VkBuffer buffer, const VmaAllocationCreateInfo *pCreateInfo, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo) |
|
VkResult | vmaAllocateMemoryForImage (VmaAllocator allocator, VkImage image, const VmaAllocationCreateInfo *pCreateInfo, 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...
|
|
void | vmaCreateLostAllocation (VmaAllocator allocator, VmaAllocation *pAllocation) |
| Creates new allocation that is in lost state from the beginning. 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 are HOST_COHERENT and DEVICE_LOCAL . More...
|
|
VkResult | vmaMapPersistentlyMappedMemory (VmaAllocator allocator) |
| Maps back persistently mapped memory of types that are 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 *pBufferCreateInfo, const VmaAllocationCreateInfo *pAllocationCreateInfo, VkBuffer *pBuffer, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo) |
|
void | vmaDestroyBuffer (VmaAllocator allocator, VkBuffer buffer, VmaAllocation allocation) |
| Destroys Vulkan buffer and frees allocated memory. More...
|
|
VkResult | vmaCreateImage (VmaAllocator allocator, const VkImageCreateInfo *pImageCreateInfo, const VmaAllocationCreateInfo *pAllocationCreateInfo, VkImage *pImage, VmaAllocation *pAllocation, VmaAllocationInfo *pAllocationInfo) |
| Function similar to vmaCreateBuffer(). More...
|
|
void | vmaDestroyImage (VmaAllocator allocator, VkImage image, VmaAllocation allocation) |
| Destroys Vulkan image and frees allocated memory. More...
|
|