Open 3D Engine Atom Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <MemoryUsage.h>
Public Member Functions | |
PoolMemoryUsage (const PoolMemoryUsage &)=default | |
PoolMemoryUsage & | operator= (const PoolMemoryUsage &)=default |
HeapMemoryUsage & | GetHeapMemoryUsage (HeapMemoryLevel memoryType) |
const HeapMemoryUsage & | GetHeapMemoryUsage (HeapMemoryLevel memoryType) const |
Public Attributes | |
AZStd::array< HeapMemoryUsage, HeapMemoryLevelCount > | m_memoryUsagePerLevel |
The memory heap usages of this pool for each level in the hierarchy. | |
HeapMemoryTransfer | m_transferPull |
Tracks data pulled (via a DMA controller) from host memory to device memory. | |
HeapMemoryTransfer | m_transferPush |
Tracks data pushed (via a DMA controller) from device memory to host memory. | |
Describes memory usage metrics of a resource pool. Resource pools can associate with a single device memory heap (i.e. a single GPU) and the host memory heap. Certain pools on specific platforms may not require one or the other. In this case, the memory usage / budget will report empty values for that heap type.