Table of Contents

Struct DebugFrameContext

Namespace
Icy.Diagnostics
Assembly
IcyUI.dll

Per-frame information an IDebugHudSection needs to refresh itself, without reaching into Canvas's own internals.

public readonly record struct DebugFrameContext : IEquatable<DebugFrameContext>
Implements
Inherited Members
Extension Methods

Constructors

DebugFrameContext(Canvas, TimeSpan)

Per-frame information an IDebugHudSection needs to refresh itself, without reaching into Canvas's own internals.

public DebugFrameContext(Canvas Canvas, TimeSpan Elapsed)

Parameters

Canvas Canvas

The canvas the HUD is rendering for.

Elapsed TimeSpan

The previous frame's duration.

Properties

Canvas

The canvas the HUD is rendering for.

public Canvas Canvas { get; init; }

Property Value

Canvas

Elapsed

The previous frame's duration.

public TimeSpan Elapsed { get; init; }

Property Value

TimeSpan