The ICrySizer interface is used to record detailed information about the memory usage of a class.
The console variable "MemStats" 0/x=refresh rate in milliseconds
Also available in Editor as "Engine Memory info".
void GetMemoryUsage( ICrySizer *pSizer )
{
{
SIZER_COMPONENT_NAME( pSizer, "Renderer (Aux Geometries)" );
pSizer->Add(*this);
}
pSizer->AddObject(<element_ptr>,<element_count>);
pSizer->AddObject(<container>);
m_SubObject.GetMemoryUsage(pSizer);
}