Window module
Creates and handles the lifecycle of a window.
Initially sets ShouldQuit to false, and sets it to true only when the window is closed.
Settings
window.title- the window's title (default:Cubos).window.width- the window's width (default:800).window.height- the window's height (default:600).window.vSync- whether vertical synchronization is enabled (default:true).
Events
- core::
io:: WindowEvent - event polled from the window.
Resources
- core::
io:: Window - handle to the window.
Dependencies
Files
- file plugin.hpp
- Plugin entry point.
Functions
-
auto windowPlugin(Cubos& cubos) -> CUBOS_
ENGINE_ API void - Plugin entry function.
Function documentation
CUBOS_ ENGINE_ API void windowPlugin(Cubos& cubos)
#include <engine/window/plugin.hpp>
Plugin entry function.
| Parameters | |
|---|---|
| cubos | Cubos main class |