#include <ProfilerWidget.hpp>
|
| ProfilerWidget (std::string name) |
|
virtual void | draw () override |
| Implementation of the abstract draw method to render the profiler widget.
|
|
| Widget (std::string name) |
| Constructor to create a widget with a specified name.
|
|
| Widget (std::string name) |
| Constructor to create a widget with a specified name.
|
|
virtual | ~Widget ()=default |
| Default virtual destructor.
|
|
|
std::string | _name |
| The name of the widget.
|
|
◆ ProfilerWidget()
shkyera::ProfilerWidget::ProfilerWidget |
( |
std::string |
name | ) |
|
◆ draw()
void shkyera::ProfilerWidget::draw |
( |
| ) |
|
|
overridevirtual |
Implementation of the abstract draw
method to render the profiler widget.
Implements shkyera::Widget.
◆ reset()
void shkyera::ProfilerWidget::reset |
( |
| ) |
|
|
private |
◆ Widget()
shkyera::Widget::Widget |
( |
std::string |
name | ) |
|
Constructor to create a widget with a specified name.
- Parameters
-
name | The name of the widget. |
◆ mFramesSinceLastReset
size_t shkyera::ProfilerWidget::mFramesSinceLastReset = 0 |
|
private |
◆ mResetOnEachFrame
bool shkyera::ProfilerWidget::mResetOnEachFrame = false |
|
private |
◆ mTimeOfLastReset
std::chrono::high_resolution_clock::time_point shkyera::ProfilerWidget::mTimeOfLastReset = std::chrono::high_resolution_clock::now() |
|
private |
The documentation for this class was generated from the following files: