Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ setHotReloadEnabled()

void Flint::AssetManager::setHotReloadEnabled ( bool enabled)
inline

Enable or disable hot-reload polling.

When set to false, update() becomes a no-op and no callbacks are fired. Existing watch registrations are preserved and will resume firing if hot-reload is re-enabled.

Parameters
enabledtrue to enable hot-reload, false to disable.

Definition at line 255 of file assets-manager.h.