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