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.Widgets.Hud.ProfilerWidgetExtensionContext Class Referencesealed

Provides detached telemetry and rendering context to a ProfilerWidget.AdditionalLinesProvider callback. More...

Public Member Functions

 ProfilerWidgetExtensionContext (TelemetrySnapshot? snapshot, RenderSurfaceHostBase renderSurfaceHost, View view)
 Initializes a new profiler-widget extension context.

Properties

TelemetrySnapshot? Snapshot [get]
 Gets the latest detached telemetry snapshot, or null before the first window completes.
RenderSurfaceHostBase RenderSurfaceHost [get]
 Gets the render surface host displayed by the widget.
View View [get]
 Gets the view displayed by the widget.

Detailed Description

Provides detached telemetry and rendering context to a ProfilerWidget.AdditionalLinesProvider callback.

Definition at line 79 of file ProfilerWidget.cs.

Constructor & Destructor Documentation

◆ ProfilerWidgetExtensionContext()

Gondwana.Widgets.Hud.ProfilerWidgetExtensionContext.ProfilerWidgetExtensionContext ( TelemetrySnapshot? snapshot,
RenderSurfaceHostBase renderSurfaceHost,
View view )

Initializes a new profiler-widget extension context.

Parameters
snapshotThe latest detached telemetry snapshot, or null before the first window completes.
renderSurfaceHostThe render surface host displayed by the widget.
viewThe view displayed by the widget.

Definition at line 87 of file ProfilerWidget.cs.

Property Documentation

◆ RenderSurfaceHost

RenderSurfaceHostBase Gondwana.Widgets.Hud.ProfilerWidgetExtensionContext.RenderSurfaceHost
get

Gets the render surface host displayed by the widget.

Definition at line 105 of file ProfilerWidget.cs.

◆ Snapshot

TelemetrySnapshot? Gondwana.Widgets.Hud.ProfilerWidgetExtensionContext.Snapshot
get

Gets the latest detached telemetry snapshot, or null before the first window completes.

Definition at line 100 of file ProfilerWidget.cs.

◆ View

View Gondwana.Widgets.Hud.ProfilerWidgetExtensionContext.View
get

Gets the view displayed by the widget.

Definition at line 110 of file ProfilerWidget.cs.