Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
IUiDispatcher.cs
1namespace Gondwana;
2
20public interface IUiDispatcher
21{
34 bool IsOnUIThread { get; }
35
58 void Post(Action action); // async, preferred
59
89 void Send(Action action); // sync; avoid on web platforms
90}
Defines a contract for dispatching actions to the UI thread in a thread-safe manner....
void Send(Action action)
Synchronously sends an action to be executed on the UI thread, blocking the calling thread until the ...
bool IsOnUIThread
Gets a value indicating whether the current thread is the UI thread to which this dispatcher is bound...
void Post(Action action)
Asynchronously posts an action to be executed on the UI thread. This method queues the action and ret...