Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

malte-v/VulkanMemoryAllocator-Hpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unmaintained

There is an up-to-date rewrite of these bindings at https://github.com/YaaZ/VulkanMemoryAllocator-Hpp. They should be compatible with this version, although I have not tested that myself.

VulkanMemoryAllocator-Hpp

These bindings use all the handy stuff from Vulkan-Hpp: wrapper classes, type safe enums, std::vectors, Optional etc. They are generated by the generator used by Vulkan-Hpp, that's why they look so similar.

Current VMA version: 3.0.0-development (e5c03604c9740ff337cd0c5b4a19c9a04a0b3a52)

Warning: The bindings are not thoroughly tested yet. If you encounter any errors, please open an issue: https://github.com/malte-v/VulkanMemoryAllocator-Hpp/issues/new

Setup

Just copy vk_mem_alloc.h and vk_mem_alloc.hpp to your project.

Usage

// 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"

About

C++ bindings for VulkanMemoryAllocator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published