|
Pyrogenesis
13997
|
Class CRendererStatsTable: Implementation of AbstractProfileTable to display the renderer stats in-game. More...
Public Member Functions | |
| CRendererStatsTable (const CRenderer::Stats &st) | |
| CStr | GetName () |
| GetName: Short descriptive name of this table (should be static). More... | |
| CStr | GetTitle () |
| GetTitle: Longer, explanatory text (can be dynamic). More... | |
| size_t | GetNumberRows () |
| GetNumberRows. More... | |
| const std::vector < ProfileColumn > & | GetColumns () |
| GetColumnDescriptions. More... | |
| CStr | GetCellText (size_t row, size_t col) |
| GetCellText. More... | |
| AbstractProfileTable * | GetChild (size_t row) |
| GetChild: Return a row's child table if the child is expandable. More... | |
Public Member Functions inherited from AbstractProfileTable | |
| virtual | ~AbstractProfileTable () |
| virtual bool | IsHighlightRow (size_t row) |
| IsHighlightRow. More... | |
Private Types | |
| enum | { Row_DrawCalls = 0, Row_TerrainTris, Row_WaterTris, Row_ModelTris, Row_OverlayTris, Row_BlendSplats, Row_Particles, Row_VBReserved, Row_VBAllocated, Row_ShadersLoaded, NumberRows } |
Private Member Functions | |
| NONCOPYABLE (CRendererStatsTable) | |
Private Attributes | |
| const CRenderer::Stats & | Stats |
| Reference to the renderer singleton's stats. More... | |
| std::vector< ProfileColumn > | columnDescriptions |
| Column descriptions. More... | |
Class CRendererStatsTable: Implementation of AbstractProfileTable to display the renderer stats in-game.
Accesses CRenderer::m_Stats by keeping the reference passed to the constructor.
Definition at line 84 of file Renderer.cpp.
|
private |
| Enumerator | |
|---|---|
| Row_DrawCalls | |
| Row_TerrainTris | |
| Row_WaterTris | |
| Row_ModelTris | |
| Row_OverlayTris | |
| Row_BlendSplats | |
| Row_Particles | |
| Row_VBReserved | |
| Row_VBAllocated | |
| Row_ShadersLoaded | |
| NumberRows | |
Definition at line 105 of file Renderer.cpp.
| CRendererStatsTable::CRendererStatsTable | ( | const CRenderer::Stats & | st | ) |
Definition at line 123 of file Renderer.cpp.
|
virtual |
GetCellText.
| row | Row index (the first row has index 0). |
| col | Column index (the first column has index 0). |
Implements AbstractProfileTable.
Definition at line 151 of file Renderer.cpp.
|
virtual |
GetChild: Return a row's child table if the child is expandable.
| row | Row index (the first row has index 0). |
Implements AbstractProfileTable.
Definition at line 222 of file Renderer.cpp.
|
virtual |
GetColumnDescriptions.
Implements AbstractProfileTable.
Definition at line 146 of file Renderer.cpp.
|
virtual |
GetName: Short descriptive name of this table (should be static).
Implements AbstractProfileTable.
Definition at line 131 of file Renderer.cpp.
|
virtual |
GetNumberRows.
Implements AbstractProfileTable.
Definition at line 141 of file Renderer.cpp.
|
virtual |
GetTitle: Longer, explanatory text (can be dynamic).
Implements AbstractProfileTable.
Definition at line 136 of file Renderer.cpp.
|
private |
|
private |
Column descriptions.
Definition at line 103 of file Renderer.cpp.
|
private |
Reference to the renderer singleton's stats.
Definition at line 100 of file Renderer.cpp.
1.8.5