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.WinFormBitmapRenderSurfaceControl Class Reference

Provides a Windows Forms control that hosts bitmap-based Gondwana rendering. More...

Inheritance diagram for Gondwana.WinForms.Rendering.WinFormBitmapRenderSurfaceControl:

Public Member Functions

 WinFormBitmapRenderSurfaceControl ()
 Initializes a new instance of the WinFormBitmapRenderSurfaceControl 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

WinFormBitmapRenderSurfaceAdapter Adapter [get]
 Gets the render surface adapter used by this control.
RenderSurfaceHost< BitmapBackbuffer > Host [get]
 Gets the render surface host used for displaying game content.

Detailed Description

Provides a Windows Forms control that hosts bitmap-based Gondwana rendering.

Definition at line 10 of file WinFormBitmapRenderSurfaceControl.cs.

Constructor & Destructor Documentation

◆ WinFormBitmapRenderSurfaceControl()

Gondwana.WinForms.Rendering.WinFormBitmapRenderSurfaceControl.WinFormBitmapRenderSurfaceControl ( )

Initializes a new instance of the WinFormBitmapRenderSurfaceControl class.

Definition at line 27 of file WinFormBitmapRenderSurfaceControl.cs.

Member Function Documentation

◆ Dispose()

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

Clean up any resources being used.

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

Definition at line 71 of file WinFormBitmapRenderSurfaceControl.cs.

◆ OnParentChanged()

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

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

Parameters
eThe event data.

Definition at line 60 of file WinFormBitmapRenderSurfaceControl.cs.

Property Documentation

◆ Adapter

WinFormBitmapRenderSurfaceAdapter Gondwana.WinForms.Rendering.WinFormBitmapRenderSurfaceControl.Adapter
get

Gets the render surface adapter used by this control.

Definition at line 17 of file WinFormBitmapRenderSurfaceControl.cs.

◆ Host

RenderSurfaceHost<BitmapBackbuffer> Gondwana.WinForms.Rendering.WinFormBitmapRenderSurfaceControl.Host
get

Gets the render surface host used for displaying game content.

Definition at line 22 of file WinFormBitmapRenderSurfaceControl.cs.