/VulkanMemoryAllocator-Hpp

C++ bindings for VulkanMemoryAllocator

Primary LanguageC++Creative Commons Zero v1.0 UniversalCC0-1.0

VulkanMemoryAllocator-Hpp 3.1.0

Supports Vulkan 1.3

This is a former fork of https://github.com/malte-v/VulkanMemoryAllocator-Hpp which is now maintained independently as discussed in this PR.

These bindings are generated by custom generator conforming to the structure of Vulkan-Hpp.

Warning: The bindings are not thoroughly tested yet. If you encounter any errors, please open an issue.

Usage

Don't forget to add Vulkan-Hpp and VulkanMemoryAllocator/include to the search path, compatible versions are specified in submodules, other versions are not guaranteed to compile.

// In *one* source file:
#define VMA_IMPLEMENTATION

// If you don't like the `vma::` prefix:
#define VMA_HPP_NAMESPACE <prefix>

#include "vk_mem_alloc.hpp"