Splash screen. More...
#include <kanzi/core.ui/application/splash.hpp>
Public Member Functions | |
| void | clear (Renderer &renderer) |
| Clear remains, that might have been stayed from splash screen rendering. More... | |
| bool | isFinished () const |
| Returns whether splash screen timeout has elapsed and splash screen could be removed. More... | |
| void | render (Renderer3D &renderer, const GraphicsOutput &graphicsOutput) |
| Render. More... | |
| SplashScreen (Domain *domain, chrono::milliseconds timeout) | |
| Constructor. More... | |
| void | update (chrono::milliseconds deltaTime) |
| Update. More... | |
Splash screen.
Handles rendering a splash screen and reserving associated resources.
|
explicit |
Constructor.
Creating a splash screen will implicitly reserve all resources.
| domain | Domain. |
| timeout | Splash screen timer countdown. |
| void kanzi::SplashScreen::update | ( | chrono::milliseconds | deltaTime | ) |
Update.
| deltaTime | Duration since last call to update(). |
| void kanzi::SplashScreen::render | ( | Renderer3D & | renderer, |
| const GraphicsOutput & | graphicsOutput | ||
| ) |
Render.
| renderer | Renderer to use. |
| graphicsOutput | Graphics output to render to. |
| void kanzi::SplashScreen::clear | ( | Renderer & | renderer | ) |
Clear remains, that might have been stayed from splash screen rendering.
| renderer | Renderer to use. |
| bool kanzi::SplashScreen::isFinished | ( | ) | const |
Returns whether splash screen timeout has elapsed and splash screen could be removed.