Function rerun::external::eframe::egui_wgpu::preferred_framebuffer_format
pub fn preferred_framebuffer_format(
formats: &[TextureFormat]
) -> Result<TextureFormat, WgpuError>
Expand description
Find the framebuffer format that egui prefers
§Errors
Returns WgpuError::NoSurfaceFormatsAvailable
if the given list of formats is empty.