Skip to main content

Module engine_config

Module engine_config 

Source
Expand description

High-level engine configuration builder.

EngineConfig combines GameConfig (window/display settings) with ProviderRegistryBuilder (subsystem backends) into a single fluent builder. This is the recommended way to configure and launch the engine.

§Example

use goud_engine::sdk::EngineConfig;

let config = EngineConfig::new()
    .with_title("My Game")
    .with_size(1280, 720)
    .with_vsync(true);

let (game_config, providers) = config.build();
assert_eq!(game_config.title, "My Game");

Structs§

EngineConfig
Unified engine configuration combining window settings and provider selection.