Available on non-
target_family=wasm and crate feature render only.Expand description
Things for render to video
Modulesยง
- file_
writer ๐
Structsยง
- Ranim
Render App - MARK: RanimRenderApp Application wrapper that drives frame-by-frame scene rendering, video output, and capture screenshots.
- Render
Thread Handle - Handle to the background render thread, used to submit frame data from the main thread.
- Render
Worker - Background rendering worker that owns the wgpu context, renderer, output textures, and video/image writers.
Constantsยง
- DEFAULT_
LOGIC_ ๐FPS - Default logic grid resolution (Hz), per the time model design.
- FFMPEG_
RELEASE_ ๐URL
Functionsยง
- download_
ffmpeg - Download latest release of ffmpeg from https://github.com/eugeneware/ffmpeg-static/releases/latest to <target_dir>/ffmpeg
- exe_dir ๐
- Returns the directory of the current executable.
- render_
output_ ๐basename - Render the output basename template by replacing placeholders.
- render_
scene - Render a scene with all its outputs
- render_
scene_ output - Render a scene output
- render_
scene_ output_ with_ progress - Render a scene output with optional progress callback.