fn render_capture_with_target( renderer: &Renderer, app: &Application, format: TextureFormat, ) -> RenderTexture