Registry / utility / vulkan-memory-allocator

vulkan-memory-allocator

JSON →
library3.3.0vcpkgunverified

Easy to integrate Vulkan memory allocation library from GPUOpen.

vcpkg install vulkan-memory-allocator
INSTALL
IMPORT
SIG · VULKAN-MEMORY-ALLO
V
vulkan-memory-allocator
utilitycppv3.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

vk_mem_alloc.h
#include <vk_mem_alloc.h>

Create and destroy a Vulkan memory allocator

#include <vk_mem_alloc.h> #include <vulkan/vulkan.h> int main() { VmaAllocator allocator; VmaAllocatorCreateInfo allocatorInfo = {}; allocatorInfo.physicalDevice = VK_NULL_HANDLE; allocatorInfo.device = VK_NULL_HANDLE; allocatorInfo.instance = VK_NULL_HANDLE; // Initialize with actual Vulkan handles vmaCreateAllocator(&allocatorInfo, &allocator); vmaDestroyAllocator(allocator); return 0; }
Debug
Known issues
gotchaRequires Vulkan headers and a Vulkan-capable device; cannot be used without a valid Vulkan instance.
fix
Ensure Vulkan SDK is installed and Vulkan instance/device are created before using VMA.
affects: all
Upgrade
Version history
3.3.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

vulkan-memory-allocator — pip install vulkan-memory-allocator · libregistry