Function CE::UI::RmlUi::adopt_scene

Function Documentation

bool CE::UI::RmlUi::adopt_scene(std::future<Scene> &completion, Scene &current)

Nonblocking complete replacement: return false for invalid/not-ready future.

Consume a ready future and replace current on success; ready exceptions, including cancellation, propagate while current remains unchanged. Call from the serialized scene owner.