Skip to main content

run

Function run 

Source
pub fn run(
    config: &HeadlessConfig,
    device: &Device,
    queue: &Queue,
    capabilities: DeviceCapabilities,
) -> HeadlessOutput
Expand description

Run the scene headless and answer the captured frames and audio.

A headless run has no way to recover a world that failed to come up, so a broken setup panics instead of returning a hole in the capture.