Engine
Raylib based game framework
Loading...
Searching...
No Matches
WindowInfo Struct Reference

Initial window info. More...

#include <Engine.hpp>

Public Attributes

u32 width = 1280
u32 height = 720
std::string title
u32 virtualWidth = 1920
u32 virtualHeight = 1080
bool fullscreen = false
bool borderlessFullscreen = false
bool resizable = false
bool undecorated = false
bool topmost = false
bool alwaysRun = false
bool transparent = false
bool highDpi = false
bool msaa4x = false

Detailed Description

Initial window info.

Tells engine what the initial window size should be and which flags to enable.

Additionally a virtual window size can be specified to which all elements are drawn. The virtual window is then scaled according to the real window size but aspect ratio is preserved.


The documentation for this struct was generated from the following file: