Skip to main content

render_scene_once

Function render_scene_once 

Source
pub fn render_scene_once(
    constructor: impl SceneConstructor,
    name: String,
    scene_config: &SceneConfig,
    output: &Output,
    buffer_count: usize,
)
Available on crate feature render and non-target_family=wasm only.
Expand description

Render a single ad-hoc output for a scene.

This is the low-level rendering entry point used by ranim render: it renders the whole scene once with the given Output, but unlike render_scene_output_with_progress it does not process capture marks.