Skip to main content

Module config

Module config 

Source
Expand description

Engine configuration — hierarchical, hot-reloadable, command-line overridable.

Loads from engine.toml with sensible defaults for all settings. Supports:

  • TOML serialization/deserialization
  • Profile system (default, debug, release, steam_deck, low_end)
  • Command-line argument overrides (--width, --height, --no-audio, etc.)
  • Hot reload: watch engine.toml for changes and re-apply at runtime
  • Validation with clamped/sanitized values
  • Diff-based change detection for per-subsystem notifications

Structs§

AccessibilityConfig
AudioConfig
ConfigDiff
Bitmask of which subsystems changed in a hot-reload diff.
DebugConfig
EngineConfig
Top-level engine configuration, loadable from a TOML file.
GameplayConfig
InputConfig
PhysicsConfig
RenderConfig

Enums§

AudioBackend
BroadphaseStrategy
ColorblindMode
LogLevel
ShadowQuality