Skip to main content

Build

Type Alias Build 

Source
pub type Build = fn(&mut World, RenderContext, Entity, Option<Entity>, (u32, u32), SceneOptions) -> SceneControl;
Expand description

Builds a scene’s world content and returns its per-frame behaviour.

The pass is the frame pass the scene draws through: its sources hang in the pass’s scope, so what they own is what the pass records.