|
|
MN_SYMBOL | Window (const Math::Vec2u &size, const std::string &name) |
| |
|
MN_SYMBOL | Window (const std::string &config_file="") |
| |
|
| Window (const Window &)=delete |
| |
|
| Window (Window &&) |
| |
|
MN_SYMBOL void | close () |
| |
|
MN_SYMBOL bool | pollEvent (Event &event) const |
| |
|
auto | size () const |
| |
|
MN_SYMBOL RenderFrame | startFrame () const |
| |
|
MN_SYMBOL void | endFrame (RenderFrame &rf) const |
| |
|
MN_SYMBOL void | runFrame (const std::function< void(RenderFrame &rf)> &func) const |
| |
|
MN_SYMBOL void | setTitle (const std::string &title) const |
| |
|
bool | shouldClose () const |
| |
|
MN_SYMBOL void | finishWork () const |
| |
|
MN_SYMBOL void | showMouse (bool show) |
| |
|
MN_SYMBOL void | setMousePos (Math::Vec2f position) |
| |
|
float | aspectRatio () const |
| |
|
|
static MN_SYMBOL Window | fromLuaScript (const std::string &config_file) |
| |
|
|
bool | process_imgui_events = true |
| |
|
|
static bool | ImGui_Initialized = false |
| |
The documentation for this struct was generated from the following file:
- /home/runner/work/midnight-graphics/midnight-graphics/include/midnight/Graphics/Window.hpp