Inherited by AZ::RHI::RHISystem.
◆ LoadResourcePoolInfoFromJson()
virtual AZ::Outcome< void, AZStd::string > AZ::RHI::RHIMemoryStatisticsInterface::LoadResourcePoolInfoFromJson |
( |
AZStd::vector< RHI::MemoryStatistics::Pool > & |
pools, |
|
|
AZStd::vector< RHI::MemoryStatistics::Heap > & |
heaps, |
|
|
rapidjson::Document & |
doc, |
|
|
const AZStd::string & |
fileName |
|
) |
| const |
|
pure virtual |
Utility function to load previously captured pool statistics from json. The function clears the passed pools and heaps vectors.
Implemented in AZ::RHI::RHISystem.
◆ TriggerResourcePoolAllocInfoDump()
virtual void AZ::RHI::RHIMemoryStatisticsInterface::TriggerResourcePoolAllocInfoDump |
( |
| ) |
const |
|
pure virtual |
Utility function to write the current state of all resource pools to a json file Useful for programmatically triggered dumps.
Implemented in AZ::RHI::RHISystem.
◆ WriteResourcePoolInfoToJson()
virtual void AZ::RHI::RHIMemoryStatisticsInterface::WriteResourcePoolInfoToJson |
( |
const AZStd::vector< RHI::MemoryStatistics::Pool > & |
pools, |
|
|
rapidjson::Document & |
doc |
|
) |
| const |
|
pure virtual |
Utility function to write the state of the provided pool statistics to json. The function assumes the pool data will not be modified while it is being converted.
Implemented in AZ::RHI::RHISystem.
The documentation for this class was generated from the following file:
- Gems/Atom/RHI/Code/Include/Atom/RHI/RHIMemoryStatisticsInterface.h