Registry / utility / gpu-allocator

gpu-allocator

JSON →
library0.28.0rscratesunverified

Memory allocator for GPU memory in Vulkan and DirectX 12, providing efficient allocation strategies.

# Cargo.toml [dependencies] gpu-allocator = "0.28.0"
INSTALL
IMPORT
SIG · GPU-ALLOCATOR
G
gpu-allocator
utilityrustv0.28.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.

Allocator
use gpu_allocator::vulkan::Allocator;

Creates a new Vulkan memory allocator instance.

use gpu_allocator::vulkan::Allocator; use gpu_allocator::AllocatorDebugSettings; fn main() { let mut allocator = Allocator::new(&AllocatorDebugSettings::default()); println!("Allocator created"); }
Debug
Known issues
gotchaRequires Vulkan or DirectX 12 backend; not a general-purpose allocator.
fix
Ensure you have the appropriate graphics API enabled and dependencies installed.
affects: >=0.28.0
Upgrade
Version history
0.28.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gpu-allocator — cargo add gpu-allocator · libregistry