void MemReport(class StringBuffer& buffer, MemReportType detailed, bool xmlFormat = false); void MemReport(struct MemItem* rootItem, MemReportType detailed);
MemReport generates a brief or detailed GFx memory heap report within a string buffer. MemReport can be used to obtain memory usage information within a game.
Parameters |
Description |
class StringBuffer& buffer |
A String buffer containing the memory statistics data collected from the heaps. |
MemReportType detailed |
An enumeration type that specifies the type and amount of detail in the report. See MemReportType. |
bool xmlFormat = false |
True if the memory report is to be generated in an XML format. |
struct MemItem* rootItem |
The output memory report in the form of a tree structure. Each node of the tree (Scaleform::MemItem) has a description (Name), a value (Value), a unique Id (Id), as well as a list of child nodes (Children). |