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.
◆ anonymous enum
| Enumerator |
|---|
| Row_DrawCalls | |
| Row_TerrainTris | |
| Row_WaterTris | |
| Row_ModelTris | |
| Row_OverlayTris | |
| Row_BlendSplats | |
| Row_Particles | |
| Row_VBReserved | |
| Row_VBAllocated | |
| Row_TextureMemory | |
| Row_ShadersLoaded | |
| NumberRows | |
◆ CRendererStatsTable()
| anonymous_namespace{Renderer.cpp}::CRendererStatsTable::CRendererStatsTable |
( |
const CRenderer::Stats & |
st | ) |
|
◆ GetCellText()
| CStr anonymous_namespace{Renderer.cpp}::CRendererStatsTable::GetCellText |
( |
size_t |
row, |
|
|
size_t |
col |
|
) |
| |
|
overridevirtual |
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()
| AbstractProfileTable * anonymous_namespace{Renderer.cpp}::CRendererStatsTable::GetChild |
( |
size_t |
row | ) |
|
|
overridevirtual |
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.
◆ GetColumns()
| const std::vector< ProfileColumn > & anonymous_namespace{Renderer.cpp}::CRendererStatsTable::GetColumns |
( |
| ) |
|
|
overridevirtual |
GetColumnDescriptions.
- Returns
- A vector describing all columns of the table.
Implements AbstractProfileTable.
◆ GetName()
| CStr anonymous_namespace{Renderer.cpp}::CRendererStatsTable::GetName |
( |
| ) |
|
|
overridevirtual |
GetName: Short descriptive name of this table (should be static).
- Returns
- Descriptive name of this table.
Implements AbstractProfileTable.
◆ GetNumberRows()
| size_t anonymous_namespace{Renderer.cpp}::CRendererStatsTable::GetNumberRows |
( |
| ) |
|
|
overridevirtual |
◆ GetTitle()
| CStr anonymous_namespace{Renderer.cpp}::CRendererStatsTable::GetTitle |
( |
| ) |
|
|
overridevirtual |
GetTitle: Longer, explanatory text (can be dynamic).
- Returns
- Title for the table.
Implements AbstractProfileTable.
◆ NONCOPYABLE()
◆ columnDescriptions
| std::vector<ProfileColumn> anonymous_namespace{Renderer.cpp}::CRendererStatsTable::columnDescriptions |
|
private |
◆ Stats
| const CRenderer::Stats& anonymous_namespace{Renderer.cpp}::CRendererStatsTable::Stats |
|
private |
Reference to the renderer singleton's stats.
The documentation for this class was generated from the following file:
- /home/docker/jenkins/workspace/technical-docs/source/renderer/Renderer.cpp