Skip to main content

Module allocator

Module allocator 

Source
Expand description

Manages mesh vertex and index buffers.

Structs§

ElementLayout
Information about the size of individual elements (vertices or indices) within a slab.
MeshAllocationKey
The handle used to retrieve a single mesh allocation.
MeshAllocator
Manages the assignment of mesh data to GPU buffers.
MeshAllocatorPlugin
A plugin that manages GPU memory for mesh data.
MeshAllocatorSettings
Tunable parameters that customize the behavior of the allocator.
MeshSlabItem
The SlabItem implementation that describes the information needed to allocate and free meshes.
MeshSlabs
IDs of the slabs associated with a single mesh.

Enums§

ElementClass
The type of element that a mesh slab can store.

Functions§

allocate_and_free_meshes
A system that processes newly-extracted or newly-removed meshes and writes their data into buffers or frees their data as appropriate.

Type Aliases§

MeshBufferSlice
The slab buffer and location within that slab in which each mesh is allocated.
MeshSlabId
The ID of a single slab.