pub fn present_mode_from_env() -> Option<PresentMode>Expand description
Obtains a wgpu::PresentMode from the current environment
configuration, if set.
The value returned by this function can be changed by setting
the ICED_PRESENT_MODE env variable. The possible values are:
vsync→wgpu::PresentMode::AutoVsyncno_vsync→wgpu::PresentMode::AutoNoVsyncimmediate→wgpu::PresentMode::Immediatefifo→wgpu::PresentMode::Fifofifo_relaxed→wgpu::PresentMode::FifoRelaxedmailbox→wgpu::PresentMode::Mailbox