![]() |
Raven Engine v0.1
|
Holds initial configuration for the Application. More...
#include <Configurations.h>
Public Member Functions | |
| template<typename F> | |
| void | Reflect (F var) |
| Reflects each field to a generic visitor. | |
Public Attributes | |
| const char * | Name = "Raven Application" |
| Window title and application name. | |
| u32 | WindowWidth = 1280 |
| Initial window width in pixels. | |
| u32 | WindowHeight = 720 |
| Initial window height in pixels. | |
| bool | Maximized = true |
| Start window maximized. | |
| std::string | WorkingDirectory = "Raven" |
| Initial working directory. | |
Holds initial configuration for the Application.
Users can adjust window size, VSync, ImGui support, working directory, etc.
|
inline |
Reflects each field to a generic visitor.
| F | Functor type with signature void(const char* name, T& value). |
| var | The visitor functor. |
| bool Raven::ApplicationSpecification::Maximized = true |
Start window maximized.
| const char* Raven::ApplicationSpecification::Name = "Raven Application" |
Window title and application name.
| u32 Raven::ApplicationSpecification::WindowHeight = 720 |
Initial window height in pixels.
| u32 Raven::ApplicationSpecification::WindowWidth = 1280 |
Initial window width in pixels.
| std::string Raven::ApplicationSpecification::WorkingDirectory = "Raven" |
Initial working directory.