Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::editor::anonymous_namespace{graph_panel.cpp} Namespace Reference

Functions

void Cell (std::string_view text)
double PerTick (uint64_t count, uint64_t ticks)
void BuildUnitTable (const GraphPanelStatus &status)
void BuildNodeTable (const gpu::GraphStatsLayout &layout, const GraphPanelStatus &status)
void BuildGauges (const gpu::GraphStatsLayout &layout, const GraphPanelStatus &status)
void BuildFindings (const gpu::GraphStatsLayout &layout, const GraphPanelStatus &status)

Variables

constexpr float PANEL_X_PIXELS = 430.0f
constexpr float PANEL_Y_PIXELS = 12.0f
constexpr ImVec4 WARNING_COLOR = {1.0f, 0.55f, 0.35f, 1.0f}

Function Documentation

◆ BuildFindings()

void bicameral::editor::anonymous_namespace{graph_panel.cpp}::BuildFindings ( const gpu::GraphStatsLayout & layout,
const GraphPanelStatus & status )

Definition at line 102 of file graph_panel.cpp.

References BuildFindings(), bicameral::gpu::EvaluateGraphStats(), bicameral::editor::GraphPanelStatus::stats, and WARNING_COLOR.

Referenced by BuildFindings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BuildGauges()

void bicameral::editor::anonymous_namespace{graph_panel.cpp}::BuildGauges ( const gpu::GraphStatsLayout & layout,
const GraphPanelStatus & status )

Definition at line 86 of file graph_panel.cpp.

References BuildGauges(), bicameral::gpu::GraphGaugeLimits::capacity, bicameral::gpu::GraphStatsSnapshot::gaugePeaks, bicameral::gpu::GraphStatsLayout::gauges, bicameral::gpu::GraphGaugeLimits::name, and bicameral::editor::GraphPanelStatus::stats.

Referenced by BuildGauges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BuildNodeTable()

void bicameral::editor::anonymous_namespace{graph_panel.cpp}::BuildNodeTable ( const gpu::GraphStatsLayout & layout,
const GraphPanelStatus & status )

◆ BuildUnitTable()

void bicameral::editor::anonymous_namespace{graph_panel.cpp}::BuildUnitTable ( const GraphPanelStatus & status)

Definition at line 29 of file graph_panel.cpp.

References BuildUnitTable(), Cell(), bicameral::editor::UnitTime::millisecondsPerTick, bicameral::editor::UnitTime::name, bicameral::editor::GraphPanelStatus::units, and bicameral::editor::UnitTime::workGraph.

Referenced by BuildUnitTable().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Cell()

void bicameral::editor::anonymous_namespace{graph_panel.cpp}::Cell ( std::string_view text)

Definition at line 19 of file graph_panel.cpp.

References Cell().

Referenced by BuildNodeTable(), BuildUnitTable(), and Cell().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PerTick()

double bicameral::editor::anonymous_namespace{graph_panel.cpp}::PerTick ( uint64_t count,
uint64_t ticks )

Definition at line 24 of file graph_panel.cpp.

References PerTick().

Referenced by BuildNodeTable(), and PerTick().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ PANEL_X_PIXELS

float bicameral::editor::anonymous_namespace{graph_panel.cpp}::PANEL_X_PIXELS = 430.0f
constexpr

Definition at line 15 of file graph_panel.cpp.

◆ PANEL_Y_PIXELS

float bicameral::editor::anonymous_namespace{graph_panel.cpp}::PANEL_Y_PIXELS = 12.0f
constexpr

Definition at line 16 of file graph_panel.cpp.

◆ WARNING_COLOR

ImVec4 bicameral::editor::anonymous_namespace{graph_panel.cpp}::WARNING_COLOR = {1.0f, 0.55f, 0.35f, 1.0f}
constexpr

Definition at line 17 of file graph_panel.cpp.

Referenced by BuildFindings().