Class CRendererStatsTable: Implementation of AbstractProfileTable to display the renderer stats in-game.
More...
|
enum | {
Row_DrawCalls = 0,
Row_TerrainTris,
Row_WaterTris,
Row_ModelTris,
Row_OverlayTris,
Row_BlendSplats,
Row_Particles,
Row_VBReserved,
Row_VBAllocated,
Row_TextureMemory,
Row_ShadersLoaded,
NumberRows
} |
|
Class CRendererStatsTable: Implementation of AbstractProfileTable to display the renderer stats in-game.
Accesses CRenderer::m_Stats by keeping the reference passed to the constructor.
Enumerator |
---|
Row_DrawCalls |
|
Row_TerrainTris |
|
Row_WaterTris |
|
Row_ModelTris |
|
Row_OverlayTris |
|
Row_BlendSplats |
|
Row_Particles |
|
Row_VBReserved |
|
Row_VBAllocated |
|
Row_TextureMemory |
|
Row_ShadersLoaded |
|
NumberRows |
|
CStr CRendererStatsTable::GetCellText |
( |
size_t |
row, |
|
|
size_t |
col |
|
) |
| |
|
virtual |
GetCellText.
- Parameters
-
row | Row index (the first row has index 0). |
col | Column index (the first column has index 0). |
- Returns
- Text to be displayed in the given cell.
Implements AbstractProfileTable.
GetChild: Return a row's child table if the child is expandable.
- Parameters
-
row | Row index (the first row has index 0). |
- Returns
- Pointer to the child table if the given row has one. Otherwise, return 0.
Implements AbstractProfileTable.
const std::vector< ProfileColumn > & CRendererStatsTable::GetColumns |
( |
| ) |
|
|
virtual |
GetColumnDescriptions.
- Returns
- A vector describing all columns of the table.
Implements AbstractProfileTable.
CStr CRendererStatsTable::GetName |
( |
| ) |
|
|
virtual |
GetName: Short descriptive name of this table (should be static).
- Returns
- Descriptive name of this table.
Implements AbstractProfileTable.
size_t CRendererStatsTable::GetNumberRows |
( |
| ) |
|
|
virtual |
CStr CRendererStatsTable::GetTitle |
( |
| ) |
|
|
virtual |
GetTitle: Longer, explanatory text (can be dynamic).
- Returns
- Title for the table.
Implements AbstractProfileTable.
std::vector<ProfileColumn> CRendererStatsTable::columnDescriptions |
|
private |
Reference to the renderer singleton's stats.
The documentation for this class was generated from the following file: