Crate ccthw_ash_allocator
source ·Expand description
A general purpose Vulkan Memory allocator, written from scratch the hard way.
Structs
- A GPU memory allocation.
- All supported memory requirements.
- An allocator which correctly handles allocations which prefer or require dedicated allocations.
- A GPU memory allocator which always allocates memory directly from the device.
- A fake implementation of a composable memory allocator which keeps track of all requested memory allocations.
- The top-level interface for allocating GPU memory.
- An allocator which composes over two other allocators. When a request is below the trigger size, it is sent to the first alloctor, otherwise it is sent to the second allocator.
- An allocator decorator which tracks metrics and generates a report for all allocations made to the wrapped allocator.
Enums
- A copy of the resource handle associated with an allocation.
Traits
Functions
- Create an opinionated system allocator for GPU memoy.
- Move an composable allocator into a Rc RefCell.