SceneManager.ProcessDeferredTransitions(CancellationToken) Method
Definition¶
Namespace: Brine2D.Engine
Resets deferral and fires any queued scene transition. Called by GameLoop after Update and Render. The active load task is exposed via Brine2D.Engine.SceneManager.ActiveLoadTask so GameLoop can track it for faulted-load detection independently of this method's invocation.
public void ProcessDeferredTransitions(System.Threading.CancellationToken ct);
Parameters¶
ct System.Threading.CancellationToken
Remarks¶
Any transition queued while a load is in flight is intentionally abandoned on shutdown. Brine2D.Engine.SceneManager.DisposeAsync awaits the in-flight load's cancellation, and the game loop stops calling this method once it exits — so the queued request simply goes unprocessed.