Raven Engine v0.1
Loading...
Searching...
No Matches
Raven::ApplicationSpecification Struct Reference

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.

Detailed Description

Holds initial configuration for the Application.

Users can adjust window size, VSync, ImGui support, working directory, etc.

Member Function Documentation

◆ Reflect()

template<typename F>
void Raven::ApplicationSpecification::Reflect ( F var)
inline

Reflects each field to a generic visitor.

Template Parameters
FFunctor type with signature void(const char* name, T& value).
Parameters
varThe visitor functor.

Member Data Documentation

◆ Maximized

bool Raven::ApplicationSpecification::Maximized = true

Start window maximized.

◆ 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: