![]() |
Rendering Engine 0.2.9
Modular Graphics Rendering Engine | v0.2.9
|
Basic application settings loaded from a configuration file. More...
#include <utility.hpp>
Public Attributes | |
| std::string | appName |
| Name of the application. More... | |
| bool | isFullScreen = false |
| Whether the application should start in full-screen mode. More... | |
| float | screenWidth = 800.0f |
| Desired window width in pixels (ignored in full-screen mode). More... | |
| float | screenHeight = 600.0f |
| Desired window height in pixels (ignored in full-screen mode). More... | |
| std::vector< std::string > | textScripts {"Latin"} |
| Unicode scripts to preload for text rendering. More... | |
| std::vector< int > | fontSizePreload {10} |
| Font sizes to preload at startup. More... | |
| std::string | logLevel {"Info"} |
| Logging verbosity level ("Error", "Warning", "Info", "Debug"). More... | |
| bool | useSmoothedFPS = true |
| Enable FPS smoothing and frame pacing behavior. More... | |
| float | targetFPS = 60.0f |
| Target frame rate (0 = uncapped). More... | |
| bool | showStatsOverlay = true |
| Enable on-screen statistics overlay. More... | |
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.
| std::string rendering_engine::AppConfig::appName |
Name of the application.
Definition at line 29 of file utility.hpp.
| std::vector<int> rendering_engine::AppConfig::fontSizePreload {10} |
Font sizes to preload at startup.
Definition at line 39 of file utility.hpp.
| bool rendering_engine::AppConfig::isFullScreen = false |
Whether the application should start in full-screen mode.
Definition at line 31 of file utility.hpp.
| std::string rendering_engine::AppConfig::logLevel {"Info"} |
Logging verbosity level ("Error", "Warning", "Info", "Debug").
Definition at line 41 of file utility.hpp.
| 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.
| 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.
| bool rendering_engine::AppConfig::showStatsOverlay = true |
Enable on-screen statistics overlay.
Definition at line 47 of file utility.hpp.
| float rendering_engine::AppConfig::targetFPS = 60.0f |
Target frame rate (0 = uncapped).
Definition at line 45 of file utility.hpp.
| std::vector<std::string> rendering_engine::AppConfig::textScripts {"Latin"} |
Unicode scripts to preload for text rendering.
Definition at line 37 of file utility.hpp.
| bool rendering_engine::AppConfig::useSmoothedFPS = true |
Enable FPS smoothing and frame pacing behavior.
Definition at line 43 of file utility.hpp.