Struct egui_wgpu_backend::ScreenDescriptor [−][src]
pub struct ScreenDescriptor {
pub physical_width: u32,
pub physical_height: u32,
pub scale_factor: f32,
}
Expand description
Information about the screen used for rendering.
Fields
physical_width: u32
Width of the window in physical pixel.
physical_height: u32
Height of the window in physical pixel.
scale_factor: f32
HiDPI scale factor.