LiteFX::Rendering::MemoryHeapStatistics¶
Stores simple memory heap statistics, that can be quickly queried by calling IGraphicsFactory::memoryStatistics
Synopsis¶
Declared in <litefx/rendering_api.hpp>
struct [[dllimport, dllexport]] MemoryHeapStatistics;
Data Members¶
| Name | Description |
|---|---|
allocationSize | Returns the total size of memory for all allocations in the heap. |
allocations | Returns the total number of allocations in the heap. |
availableMemory | Estimated memory available to the program in the heap. |
blockSize | Returns the total size of allocated memory across all blocks in the heap. |
blocks | Returns the number of memory blocks in the heap. |
cpuVisible | true, of the heap is accessible for the CPU and false otherwise. |
onGpu | true, if the heap is located in video memory and false otherwise. |
usedMemory | Estimated memory used by the program in the heap. |