1. Home
  2. Browse
  3. vulkan-memory-allocator

vulkan-memory-allocator

v3.1.0#0Latest

Easy to integrate Vulkan memory allocation library from GPUOpen

Install

Run the following Vcpkg command to install the port.

vcpkg install vulkan-memory-allocator

Usage

VulkanMemoryAllocator provides official find_package support. However, it requires the user to provide the include directory containing `vulkan/vulkan.h`. There are multiple ways to achieve this and VulkanMemoryAllocator is compatible with all of them.

find_package(Vulkan) # https://cmake.org/cmake/help/latest/module/FindVulkan.html, CMake 3.21+
find_package(VulkanMemoryAllocator CONFIG REQUIRED)
target_link_libraries(main PRIVATE Vulkan::Vulkan GPUOpen::VulkanMemoryAllocator)

or

find_package(Vulkan) # CMake 3.21+
find_package(VulkanMemoryAllocator CONFIG REQUIRED)
target_link_libraries(main PRIVATE Vulkan::Headers GPUOpen::VulkanMemoryAllocator)

or

find_package(VulkanHeaders CONFIG) # From the vulkan-headers port
find_package(VulkanMemoryAllocator CONFIG REQUIRED)
target_link_libraries(main PRIVATE Vulkan::Headers GPUOpen::VulkanMemoryAllocator)

See the documentation for more information on setting up your project: https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/index.html

Dependencies

See source

Version

v3.1.0#0

Publication

Supports

!uwp & !xbox

GitHub

GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator2.7K

Homepage

github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator

Subtree

eb07416fff

License

MIT

Definition

Manifest