Skip to main content

render_output_basename

Function render_output_basename 

Source
fn render_output_basename(
    template: &str,
    name: &str,
    width: u32,
    height: u32,
    fps: u32,
) -> String
Available on non-target_family=wasm and crate feature render only.
Expand description

Render the output basename template by replacing placeholders.

Supported placeholders:

  • {name}: the scene/output name
  • {width}: output width in pixels
  • {height}: output height in pixels
  • {fps}: output frame rate