LiteFX::Rendering::AllocationStrategy¶
The allocation strategy used by allocators (IGraphicsFactory and VirtualAllocator) when allocating new chunks of memory.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
enum class AllocationStrategy : UInt32;
Members¶
| Name | Description |
|---|---|
OptimizePacking | Prefers good packing over allocation time and reduces fragmentation. |
OptimizeTime | Prefers allocation time over packing. |