Contains jngl::Vec2 class.
Parameters used to initialize the main window.
std::optional< uint32_t > steamAppId
If set and JNGL_STEAMWORKS has been passed to CMake, JNGL will ensure the app runs through Steam and ...
bool pixelArt
Activates pixel-perfect magnifying of textures (nearest-neighbor interpolation)
std::optional< bool > fullscreen
If set, can be used to control whether to run in fullscreen or windowed mode on supported platforms.
std::function< std::shared_ptr< jngl::Work >()> start
A factory function which creates the first jngl::Work.
std::string displayName
Display name of the application which will be used in the window title for example.
std::optional< jngl::Vec2 > screenSize
Size of the canvas in screen pixels, see jngl::getScreenSize()