HUD class allows drawing information on top of tests.
More...
#include <kanzi/core.ui/application/performance_info.hpp>
HUD class allows drawing information on top of tests.
◆ PerformanceInfo()
◆ drawFps()
void kanzi::PerformanceInfo::drawFps |
( |
| ) |
|
Draws the FPS information on the screen.
◆ drawInfo()
void kanzi::PerformanceInfo::drawInfo |
( |
| ) |
|
Draws performance related information on the screen.
◆ drawProfilingInfo()
void kanzi::PerformanceInfo::drawProfilingInfo |
( |
| ) |
|
◆ setFontColor()
void kanzi::PerformanceInfo::setFontColor |
( |
const ColorRGBA & |
fontColor | ) |
|
Sets the font color for drawing the HUD info.
- Parameters
-
fontColor | The ColorRGBA color value of the font |
◆ setLineColor()
void kanzi::PerformanceInfo::setLineColor |
( |
const ColorRGBA & |
lineColor | ) |
|
Sets the color of the lines used to draw the performance graphs.
- Parameters
-
lineColor | The ColorRGBA color value for the graph lines |
◆ setBorderColor()
void kanzi::PerformanceInfo::setBorderColor |
( |
const ColorRGBA & |
borderColor | ) |
|
Sets the border color of the HUD info boxes.
- Parameters
-
borderColor | The ColorRGBA color value for the graph borders |
◆ setTextTopLeft()
void kanzi::PerformanceInfo::setTextTopLeft |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Set the text top-left corner position.
- Parameters
-
x | Text x-position on the screen. |
y | Text y-position on the screen. |
The documentation for this class was generated from the following file: