Skip to main content

render_scene_png

Function render_scene_png 

Source
pub fn render_scene_png(
    scene: &RenderScene,
    width: u32,
    height: u32,
    time_seconds: f32,
    telemetry: &SystemTelemetry,
) -> Result<Vec<u8>, String>
Expand description

PNG convenience bridge for native webviews. The render itself still uses caller-buffered core APIs; allocation here belongs to the explicit image-codec boundary.