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
RenderSurfaceHostBindEventArgs.cs
2
3namespace Gondwana.Rendering;
4
13public class RenderSurfaceHostBindEventArgs : EventArgs
14{
22 public Scene? OldScene { get; }
23
31 public Scene? NewScene { get; }
32
33 private RenderSurfaceHostBindEventArgs() : this(null, null)
34 {
35 }
36
48 public RenderSurfaceHostBindEventArgs(Scene? oldScene, Scene? newScene)
49 {
50 OldScene = oldScene;
51 NewScene = newScene;
52 }
53}
Provides data for the RenderSurfaceHost<TBackbuffer>.BindToScene event.
Scene? NewScene
Gets the scene that is now bound to the render surface host after the binding operation.
Scene? OldScene
Gets the scene that was previously bound to the render surface host before the binding operation.
RenderSurfaceHostBindEventArgs(Scene? oldScene, Scene? newScene)
Initializes a new instance of the RenderSurfaceHostBindEventArgs class.
Represents a game scene containing multiple layers of tiles, sprites, and game objects....
Definition Scene.cs:34