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
Gondwana.WinForms.Rendering.WinFormGpuRenderSurfaceControl Class Reference

Provides a Windows Forms control that hosts GPU-accelerated Gondwana rendering. More...

Inheritance diagram for Gondwana.WinForms.Rendering.WinFormGpuRenderSurfaceControl:

Public Member Functions

 WinFormGpuRenderSurfaceControl ()
 Initializes a new instance of the WinFormGpuRenderSurfaceControl class.

Protected Member Functions

override void OnParentChanged (EventArgs e)
 Refreshes the render surface size when the control's parent changes.
override void Dispose (bool disposing)
 Clean up any resources being used.

Properties

WinFormGpuRenderSurfaceAdapter Adapter [get]
 Gets the GPU render surface adapter used by this control.
RenderSurfaceHost< GpuBackbuffer > Host = null! [get]
 Gets the render surface host used for displaying game content.

Detailed Description

Provides a Windows Forms control that hosts GPU-accelerated Gondwana rendering.

Definition at line 10 of file WinFormGpuRenderSurfaceControl.cs.

Constructor & Destructor Documentation

◆ WinFormGpuRenderSurfaceControl()

Gondwana.WinForms.Rendering.WinFormGpuRenderSurfaceControl.WinFormGpuRenderSurfaceControl ( )

Initializes a new instance of the WinFormGpuRenderSurfaceControl class.

Definition at line 28 of file WinFormGpuRenderSurfaceControl.cs.

Member Function Documentation

◆ Dispose()

override void Gondwana.WinForms.Rendering.WinFormGpuRenderSurfaceControl.Dispose ( bool disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

Definition at line 95 of file WinFormGpuRenderSurfaceControl.cs.

◆ OnParentChanged()

override void Gondwana.WinForms.Rendering.WinFormGpuRenderSurfaceControl.OnParentChanged ( EventArgs e)
protected

Refreshes the render surface size when the control's parent changes.

Parameters
eThe event data.

Definition at line 65 of file WinFormGpuRenderSurfaceControl.cs.

Property Documentation

◆ Adapter

WinFormGpuRenderSurfaceAdapter Gondwana.WinForms.Rendering.WinFormGpuRenderSurfaceControl.Adapter
get

Gets the GPU render surface adapter used by this control.

Definition at line 18 of file WinFormGpuRenderSurfaceControl.cs.

◆ Host

RenderSurfaceHost<GpuBackbuffer> Gondwana.WinForms.Rendering.WinFormGpuRenderSurfaceControl.Host = null!
get

Gets the render surface host used for displaying game content.

Definition at line 23 of file WinFormGpuRenderSurfaceControl.cs.