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
IEnginePlugin.cs
2using SkiaSharp;
3
5
20public interface IEnginePlugin
21{
25 string Name { get; }
26
30 string Version { get; }
31
36 void OnInitialize(Engine engine);
37
46 void OnPreCycle(Engine engine, double deltaSeconds);
47
53 void OnPreFrameRender(Engine engine, double deltaSeconds);
54
60 void OnPostFrameRender(Engine engine, double deltaSeconds);
61
70 void OnPostCycle(Engine engine, double deltaSeconds);
71
110 void OnPostRenderCanvas(Engine engine, RenderSurfaceHostBase host, SKCanvas canvas)
111 {
112 }
113
118 void OnShutdown(Engine engine);
119}
Represents the core game engine singleton responsible for managing the main update loop,...
Definition Engine.cs:36
Represents a base class for hosting a render surface, providing functionality for managing rendering ...
Defines lifecycle hooks for extending engine startup, simulation, rendering, and shutdown behavior.
void OnShutdown(Engine engine)
Called when the engine is shutting down.
void OnPostCycle(Engine engine, double deltaSeconds)
Called after each simulation cycle completes.
void OnPreFrameRender(Engine engine, double deltaSeconds)
Called before a frame is rendered.
void OnPostFrameRender(Engine engine, double deltaSeconds)
Called after a frame has been rendered.
string Version
Gets the plugin version string.
void OnPostRenderCanvas(Engine engine, RenderSurfaceHostBase host, SKCanvas canvas)
Called after all scene content for a surface has been drawn to the backbuffer canvas,...
void OnInitialize(Engine engine)
Called when the engine is initializing.
void OnPreCycle(Engine engine, double deltaSeconds)
Called before each simulation cycle.
string Name
Gets the display name of the plugin.