VulkanMemoryAllocator-Hpp icon indicating copy to clipboard operation
VulkanMemoryAllocator-Hpp copied to clipboard

C++ bindings for VulkanMemoryAllocator

Results 5 VulkanMemoryAllocator-Hpp issues
Sort by recently updated
recently updated
newest added

After trying to compile: ``` /usr/include/vulkan/vulkan.hpp: In instantiation of ‘constexpr vk::Flags vk::Flags::operator~() const [with BitType = vma::AllocationCreateFlagBits]’: /home/ashley/Programming/zombie-hunter/lib/vma/vk_mem_alloc.hpp:108:45: required from here /usr/include/vulkan/vulkan.hpp:719:60: error: ‘allFlags’ is not a member of ‘vk::FlagTraits’...

![image](https://user-images.githubusercontent.com/62676120/146463988-f97c2177-2e08-498d-8432-ad232803b644.png) os: Linux compilator: gcc

When trying to compile this with apple clang 11 I get compilation errors: explicit specialization of 'vk::FlagTraits' after instantiation explicit specialization of 'vk::FlagTraits' after instantiation explicit specialization of 'vk::FlagTraits' after...

The support is enabled similarly to `Vulkan-HPP`. Their `VULKAN_HPP_NO_STRUCT_CONSTRUCTORS` macro was substituted with `VMA_HPP_NO_STRUCT_CONSTRUCTORS`.

vulkan-hpp provides destroy function overloads. I'm not sure this makes the API better, but to be on par with the vulkan-hpp API I think they should be there.