Skip to main content

Module overlay_agent

Module overlay_agent 

Source
Expand description

OverlayAgent — generic engine-side agent for overlay / debug rendering passes.

Unlike RenderAgent (one strategy selected per frame via GORNA), lanes registered here run in parallel with the main render pass, after it, with depth-read-only / alpha-blend semantics. Domain examples:

  • GizmoLane — editor / debug line gizmos. Data published on the OutputDeck by the host application (editor, game tooling).
  • WireframeLane — wireframe debug viz (opt-in via WireframeConfig).

Domain-agnostic by design: the engine never assumes who pushes the data, only that the data slot type is well-known. This keeps the editor crate a pure consumer of engine mechanisms instead of an engine-internal EditorAgent (which would invert the engine / application dependency).

Structs§

OverlayAgent
The agent responsible for overlay / debug rendering passes.