Splash screen. More...
#include <kanzi/core.ui/application/splash.hpp>
Public Member Functions | |
SplashScreen (Domain *domain, chrono::milliseconds timeout) | |
Constructor. More... | |
void | render (Renderer3D &renderer, const GraphicsOutput &graphicsOutput, chrono::milliseconds delta) |
Render. More... | |
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... | |
Splash screen.
Handles rendering a splash screen and reserving associated resources.
|
explicit |
Constructor.
Creating a splash screen will implicitly reserve all resources.
domain | Domain. |
void kanzi::SplashScreen::render | ( | Renderer3D & | renderer, |
const GraphicsOutput & | graphicsOutput, | ||
chrono::milliseconds | delta | ||
) |
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.