Skip to content

IMainThreadDispatcher.ProcessQueue() Method

Definition

Namespace: Brine2D.Threading

Processes all queued main thread work. Called by GameLoop every frame. Also registers the calling thread as the main thread on the first invocation.

void ProcessQueue();

Exceptions

System.InvalidOperationException
Thrown if called from any thread other than the registered main thread.