Skip to main content

Module slab_allocator

Module slab_allocator 

Source
Expand description

A general-purpose allocator that manages a set of GPU buffer slabs.

Structs§

AllocationStage
An object that allows batched allocation.
DeallocationStage
An object that enables batched deallocation.
GeneralSlab
A resizable slab that can contain multiple objects.
LargeObjectSlab
A slab that contains a single object.
SlabAllocationBufferSlice
The hardware buffer that slab-allocated data lives in, as well as the range within that buffer.
SlabAllocator
A general-purpose allocator that manages a set of GPU buffer slabs.
SlabAllocatorSettings
Tunable parameters that customize the behavior of the allocator.
SlabId
The index of a single slab.
SlabToReallocate
Holds information about a slab that’s scheduled to be allocated or reallocated.

Enums§

Slab
Data for a single slab.

Traits§

SlabItem
Describes the type of the data that a SlabAllocator will store.
SlabItemLayout
A trait that defines information necessary to determine the size and alignment of objects within a slab.