Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RHI::MemoryStatisticsBuilder Class Reference

Public Member Functions

void Begin (MemoryStatistics &memoryStatistics, MemoryStatisticsReportFlags reportFlags)
 
MemoryStatisticsReportFlags GetReportFlags () const
 
MemoryStatistics::HeapAddHeap ()
 Adds a new heap info and returns it. The user can fill out the heap data structure.
 
MemoryStatistics::PoolBeginPool ()
 Adds a new pool info and returns it. The user can fill out the pool data structure.
 
MemoryStatistics::BufferAddBuffer ()
 Adds a new buffer info to the current pool. This must be called within a BeginPool() / EndPool() scope.
 
MemoryStatistics::ImageAddImage ()
 Adds a new image info to the current pool. This must be called within a BeginPool() / EndPool() scope.
 
void EndPool ()
 
void End ()
 

Member Function Documentation

◆ Begin()

void AZ::RHI::MemoryStatisticsBuilder::Begin ( MemoryStatistics memoryStatistics,
MemoryStatisticsReportFlags  reportFlags 
)

Begins a new statistics building pass. The MemoryStatistics struct is cleared and intermediate data is filled until End is called.


The documentation for this class was generated from the following file: