![]() |
Raven Engine v0.1
|
Struct to hold window properties. More...
#include <Window.h>
Public Attributes | |
| std::string | Title = "Raven" |
| Title displayed in the window's title bar. | |
| u32 | Width = 1920 |
| Width of the window (in pixels). | |
| u32 | Height = 1080 |
| Height of the window (in pixels). | |
| bool | Maximized = false |
| Whether the window is maximized on creation (default: false). | |
| EventCallbackFn | EventCallback |
| The callback function to handle events such as window resizing or input. | |
Struct to hold window properties.
This struct contains the properties required for creating a window, such as title, width, height, VSync setting, and an event callback function. These properties are used to configure the window during initialization.
| EventCallbackFn Raven::WindowProps::EventCallback |
The callback function to handle events such as window resizing or input.
| u32 Raven::WindowProps::Height = 1080 |
Height of the window (in pixels).
| bool Raven::WindowProps::Maximized = false |
Whether the window is maximized on creation (default: false).
| std::string Raven::WindowProps::Title = "Raven" |
Title displayed in the window's title bar.
| u32 Raven::WindowProps::Width = 1920 |
Width of the window (in pixels).