Skip to content

LiteFX::Rendering::DetailedMemoryStatistics

Stores extended memory statistics, that can be queried by calling IGraphicsFactory::detailedMemoryStatistics.

Synopsis

Declared in <litefx/rendering_api.hpp>

struct [[dllimport, dllexport]] DetailedMemoryStatistics;

Description

Note that those statistics should only be used for debugging purposes, as their computation may be significantly slower compared to calling IGraphicsFactory::memoryStatistics.

Types

NameDescription
StatisticsBlock Defines a single statistics block.

Data Members

NameDescription
perLocation Stores the memory statistics per location (e.g., VRAM/RAM).
perResourceHeap Stores the memory statistics per ResourceHeap.
total Stores the total memory statistics.