LiteFX::Rendering::VirtualAllocator::free¶
Releases an allocation from the allocator, so that its memory can be re-used later.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] void free(Allocation&& allocation) const;
Description¶
Releasing an allocation that was not allocated from the virtual allocator is undefined behavior.
Parameters¶
| Name | Description |
|---|---|
| allocation | The allocation to release. |