Rendering Engine 0.2.0
Modular Graphics Rendering Engine | v0.2.0
Loading...
Searching...
No Matches
rendering_engine::AppConfig Struct Reference

Basic application settings loaded from a configuration file. More...

#include <utility.hpp>

Public Attributes

std::string appName
 Name of the application.
bool isFullScreen = false
 Whether the application should start in full-screen mode.
float screenWidth = 800.0f
 Desired window width in pixels (ignored in full-screen mode).
float screenHeight = 600.0f
 Desired window height in pixels (ignored in full-screen mode).

Detailed Description

Basic application settings loaded from a configuration file.

This structure represents a minimal configuration schema for applications built using the Rendering Engine. Values are typically read from Config/app_config.json at startup and applied during window creation.

Definition at line 26 of file utility.hpp.

Member Data Documentation

◆ appName

std::string rendering_engine::AppConfig::appName

Name of the application.

Definition at line 29 of file utility.hpp.

◆ isFullScreen

bool rendering_engine::AppConfig::isFullScreen = false

Whether the application should start in full-screen mode.

Definition at line 31 of file utility.hpp.

◆ screenHeight

float rendering_engine::AppConfig::screenHeight = 600.0f

Desired window height in pixels (ignored in full-screen mode).

Definition at line 35 of file utility.hpp.

◆ screenWidth

float rendering_engine::AppConfig::screenWidth = 800.0f

Desired window width in pixels (ignored in full-screen mode).

Definition at line 33 of file utility.hpp.


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