pub fn render_preview_png(width: u32, height: u32) -> Option<Vec<u8>>Expand description
Render a placeholder semantic scene headlessly and return raw PNG bytes.
This is blocking — it builds a GPU device and drives a synchronous readback
(device.poll(Wait)), so it must be called off the UI thread (e.g. a worker
thread or spawn_blocking). Intended as the one-call bridge for the native
host until a real SemanticScene is wired in. Native-only.