pub fn set_output_format(format: TextureFormat) -> boolAvailable on crate feature
gpu only.Expand description
Set the host’s wgpu surface format. Returns whether the format is supported.
Call before the first plot frame. Supported: Bgra8UnormSrgb (default),
Rgba8UnormSrgb, Bgra8Unorm, and Rgba8Unorm.