Struct egui_wgpu::renderer::ScreenDescriptor
source · pub struct ScreenDescriptor {
pub size_in_pixels: [u32; 2],
pub pixels_per_point: f32,
}Expand description
Information about the screen used for rendering.
Fields§
§size_in_pixels: [u32; 2]Size of the window in physical pixels.
pixels_per_point: f32HiDPI scale factor (pixels per point).