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
Properties
Canvas
The canvas the HUD is rendering for.
public Canvas Canvas { get; init; }
Property Value
Elapsed
The previous frame's duration.
public TimeSpan Elapsed { get; init; }