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
RenderSurfaceAdapterResizedEventArgs.cs
1namespace Gondwana.Rendering;
2
11{
17
22 public int OldWidth { get; }
23
28 public int OldHeight { get; }
29
34 public int NewWidth { get; }
35
40 public int NewHeight { get; }
41
50 public RenderSurfaceAdapterResizedEventArgs(RenderSurfaceAdapterBase renderSurfaceAdapter, int oldWidth, int oldHeight, int newWidth, int newHeight)
51 {
52 RenderSurfaceAdapter = renderSurfaceAdapter;
53 OldWidth = oldWidth;
54 OldHeight = oldHeight;
55 NewWidth = newWidth;
56 NewHeight = newHeight;
57 }
58}
Represents the abstract base class for render surface adapters that present backbuffer output to a de...
int OldWidth
Gets the previous width of the render surface adapter before the resize.
int NewWidth
Gets the new width of the render surface adapter after the resize.
RenderSurfaceAdapterBase RenderSurfaceAdapter
Gets the render surface adapter that was resized.
RenderSurfaceAdapterResizedEventArgs(RenderSurfaceAdapterBase renderSurfaceAdapter, int oldWidth, int oldHeight, int newWidth, int newHeight)
Initializes a new instance of the RenderSurfaceAdapterResizedEventArgs class.
int NewHeight
Gets the new height of the render surface adapter after the resize.
int OldHeight
Gets the previous height of the render surface adapter before the resize.