vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
splash_frame.h
1#pragma once
2
3#include <string>
4
5namespace Vkm::Engine {
6
14 std::string key;
15 float opacity = 0.0f;
16
17 bool isShowing() const { return !key.empty(); }
18};
19
20} // namespace Vkm::Engine
What the splash looks like this frame, or nothing; SplashSystem's product.
Definition splash_frame.h:13
float opacity
0..1.
Definition splash_frame.h:15
std::string key
Image path; empty means there is no splash.
Definition splash_frame.h:14