Holds initial configuration for the Application.
More...
#include <Configurations.h>
|
| template<typename F> |
| void | Reflect (F var) |
| | Reflects each field to a generic visitor.
|
|
| 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.
|
| std::string | language = "en_US" |
| | Initial language.
|
Holds initial configuration for the Application.
Users can adjust window size, VSync, ImGui support, working directory, etc.
◆ Reflect()
template<typename F>
| void Raven::ApplicationSpecification::Reflect |
( |
F | var | ) |
|
|
inline |
Reflects each field to a generic visitor.
- Template Parameters
-
| F | Functor type with signature void(const char* name, T& value). |
- Parameters
-
◆ language
| std::string Raven::ApplicationSpecification::language = "en_US" |
◆ Maximized
| bool Raven::ApplicationSpecification::Maximized = true |
◆ Name
| const char* Raven::ApplicationSpecification::Name = "Raven Application" |
Window title and application name.
◆ WindowHeight
| u32 Raven::ApplicationSpecification::WindowHeight = 720 |
Initial window height in pixels.
◆ WindowWidth
| u32 Raven::ApplicationSpecification::WindowWidth = 1280 |
Initial window width in pixels.
◆ WorkingDirectory
| std::string Raven::ApplicationSpecification::WorkingDirectory = "Raven" |
Initial working directory.
The documentation for this struct was generated from the following file: