Expand description
Renderer replay wrapper for re-drawing saved render command streams.
Use RenderModuleReplay when you have precomputed render commands and need the
renderer’s init hook to run against a live layout manager (for example, to load fonts
or textures registered during layout init).
For stage 3 when layout output JSON plus a pipe is sufficient and no renderer init from
a layout module is needed, prefer calling CotisRenderer::draw_frame
directly (see gradients_example_solid_render_only).
Structs§
- Render
Module Replay - Thin wrapper around a renderer for debug replay.
Traits§
- Render
Module Replay Async Trait - Async renderer replay:
init(layout)followed bydraw_frame(commands).await. - Render
Module Replay Trait - Synchronous renderer replay:
init(layout)followed bydraw_frame(commands).