Engine → Renderer
renderer.h
The renderer: a render graph over the rhi that turns a render_scene into one command list per frame. Owns the render_scene_pair, every GPU mirror of the renderer asset types, the render targets and the ImGui backend.
Structs
| File |
Description |
pass_timing |
GPU time of one executed pass (Development builds, devices with timer queries). |
render_stats |
What the last render() did. Fully populated on the null device too, which is how the tests observe the renderer. The counters of what a frame clamped (viewsSkipped, lightsDropped, spritesDropped, shadowTilesDropped, settingsClamped) are filled every frame. The log says less: the WARN about views, lights or sprites beyond their budget, about an unknown render target or about a settings group out of its range is logged when the problem starts and not again while it lasts (renderer::render), and dropped shadow tiles are not logged at all. Read the counters to follow a problem that lasts. A frame whose back buffer could not be acquired counts every view of the scene as skipped and the scene's settings groups it clamped (settingsClamped), and fills nothing else. |
renderer::create_tag |
|
renderer_desc |
|
view_stats |
What one view of the last render() drew, in the order it was rendered: the draw calls it recorded and, where render_stats::gpuTimed, the GPU time of the passes timed into its target, from the frame passTimings resolved (four frames back, once no command list of it can still be in flight: timer queries are read without waiting for the GPU). |
Classes
Forward Declarations
ImDrawData
imgui_renderer
renderer::impl