Module render_agent

Module render_agent 

Source
Expand description

Acts as the [A]gent for the rendering subsystem, fulfilling the role of an ISA.

This module provides the high-level, tactical logic for rendering scenes. It determines which rendering strategy to use and in what order, but delegates the actual GPU command generation to the various render_lanes.

As an Intelligent Subsystem Agent (ISA), its responsibilities will include:

  • Analyzing the scene’s complexity (e.g., light count, geometry density) and reporting performance metrics (GPU time, VRAM usage) to the DCC.
  • Managing a portfolio of rendering strategies, such as SimpleUnlitLane, ForwardPlusLane, or a future DeferredLane.
  • Selecting the optimal rendering strategy based on the budget allocated by GORNA and the current performance goals (e.g., prioritizing framerate vs. visual quality).

Structs§

MeshPreparationSystem
Manages the GPU upload and caching of mesh assets.
RenderAgent
The agent responsible for managing the state and logic of the rendering pipeline.

Enums§

RenderingStrategy
Rendering strategy selection mode.