Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
BlamImGuiWindow_Stats Class Reference

This is the ImGUI-based implementation of the stats widget. More...

#include <stats.hpp>

+ Inheritance diagram for BlamImGuiWindow_Stats:
+ Collaboration diagram for BlamImGuiWindow_Stats:

Public Member Functions

bool * ShowFPS ()
 Retrieves whether or not the FPS should be shown in the stats display. More...
 
void Draw ()
 Draws the stats display. More...
 

Additional Inherited Members

- Public Attributes inherited from BlamImGuiWindow
bool show = false
 Controls whether or not the group should be shown. May not be used in all groups. More...
 

Detailed Description

This is the ImGUI-based implementation of the stats widget.

Ideally, it would be used to show a variety of information during runtime. Turns out that's basically what it does, although it's limited to the following information due to there not being much to really show:

  • Mouse Position
  • Framerate
  • DXGI Swap Chain Information

    Todo:
    Reimplement this using the new Debug UI system.

Member Function Documentation

◆ Draw()

void BlamImGuiWindow_Stats::Draw ( )
inlinevirtual

Draws the stats display.

Reimplemented from BlamImGuiWindow.

+ Here is the call graph for this function:

◆ ShowFPS()

bool* BlamImGuiWindow_Stats::ShowFPS ( )
inline

Retrieves whether or not the FPS should be shown in the stats display.

Returns
A pointer to Blam::DebugUI::Windows::Stats::show_fps

The documentation for this class was generated from the following file: