Table of Contents

NervLand: Adding support of Vulkan Memory Allocator

With my latest sessions on my VulkanApp lua experiment I'm finally starting to get back on rails with my vulkan 3D engine πŸ‘, and in the last post, we ended with a nice first triangle display, yeepee!

In this session, we will introduce the support for the Vulkan Memory Allocator library in our project, as managing the device memory is going to be a serious pain otherwise.

Retrieving the library code

Initializing the VmaAllocator

Creating images/buffers with VMA backed memory

Of course, we are releasing all our resources above with corresponding calls to vmaDestroyImage, vmaDestroyBuffer and vmaDestroyAllocator