Skip to main content

build_render_app

Function build_render_app 

Source
pub fn build_render_app(
    ctx: &WgpuContext,
    width: u32,
    height: u32,
    oit_layers: usize,
) -> SubApp
Expand description

Create an independent render runtime with the shared frame, viewport, and OIT infrastructure installed.

Item plugins install their own extraction and GPU systems on top. Extraction systems can read the current EvaluatedFrame resource during RenderSchedule::Extract. Plugins configure the render world directly; no logic world is created.