diff --git a/src/vk_mem_alloc.xml b/src/vk_mem_alloc.xml new file mode 100644 index 0000000..e892b50 --- /dev/null +++ b/src/vk_mem_alloc.xml @@ -0,0 +1,70 @@ + + + + + + void vmaAllocateDeviceMemoryFunction + VmaAllocator allocator + uint32_t memoryType + VkDeviceMemory memory + VkDeviceSize size + + + void vmaFreeDeviceMemoryFunction + VmaAllocator allocator + uint32_t memoryType + VkDeviceMemory memory + VkDeviceSize size + + + + + + + VK_DEFINE_HANDLE(VmaAllocator) + + + typedef VkFlags VmaAllocatorFlags; + + + + + VmaAllocatorFlags flags + VkPhysicalDevice physicalDevice + VkDevice device + VkDeviceSize preferredLargeHeapBlockSize + VkDeviceSize preferredSmallHeapBlockSize + const VkAllocationCallbacks* pAllocationCallbacks + const VmaDeviceMemoryCallbacks* pDeviceMemoryCallbacks + uint32_t frameInUseCount + const VkDeviceSize* pHeapSizeLimit + const VmaVulkanFunctions* pVulkanFunctions + + + PFN_vmaAllocateDeviceMemoryFunction pfnAllocate + PFN_vmaFreeDeviceMemoryFunction pfnFree + + + PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties + PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties + PFN_vkAllocateMemory vkAllocateMemory + PFN_vkFreeMemory vkFreeMemory + PFN_vkMapMemory vkMapMemory + PFN_vkUnmapMemory vkUnmapMemory + PFN_vkBindBufferMemory vkBindBufferMemory + PFN_vkBindImageMemory vkBindImageMemory + PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements + PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements + PFN_vkCreateBuffer vkCreateBuffer + PFN_vkDestroyBuffer vkDestroyBuffer + PFN_vkCreateImage vkCreateImage + PFN_vkDestroyImage vkDestroyImage + + + + + + + + +