Vixen
02b45cc4
csharp
public sealed class DiagnosticOverlaySystem

Draws the diagnostic overlays into the frame's debug geometry.

No guide page documents this yet — the page shows what the code says about itself.

As a system

Phase
PreRender

Remarks

In PreRender, which is the last phase before the graph is recorded: everything an overlay reports on has run, and the renderer has not yet drained. DebugDrawSystem ages the result afterwards, in PostRender.

⚠ Viewport is in render-target pixels and the host has to keep it current. Nothing here can know how big the window is — that is a platform's answer, and this assembly has no platform. A stale value draws the overlays for the size the window used to be, which after a resize means panels that hang off the edge.

Fields and properties (2)

  • public Vector2 Viewport

    How big the render target is, in pixels.

  • public SystemAccess Access

    What this system reads and writes.

Methods (2)