vk-alloc 0.2.1

A segregated list memory allocator for Vulkan.
Documentation

vk-alloc

Latest version Documentation MIT Apache

A segregated list allocator memory for Vulkan written in Rust.

Currently targets ash.

Status

Crate has test cases, but hasn't been tested in production yet. Consider this crate unstable for now.

Features

All features are optional by default.

  • tracing Adds logging using tracing.
  • profiling Adds support for profiling.
  • vk-buffer-device-address: Enables the usage of "vkGetBufferDeviceAddress". Either needs the "VK_KHR_buffer_device_address" extension loaded or the "bufferDeviceAddress" device feature enabled.
  • vk-dedicated-allocation: Activates helper functions that decide if an allocation should get it's own dedicated memory block. Needs the "VK_KHR_dedicated_allocation" and "VK_KHR_get_memory_requirements2" extensions enabled.

License

Licensed under MIT or Apache-2.0.