Struct event_loop::RenderArgs
[−]
[src]
pub struct RenderArgs { pub ext_dt: f64, pub width: u32, pub height: u32, pub draw_width: u32, pub draw_height: u32, }
Render arguments
Fields
ext_dt | Extrapolated time in seconds, used to do smooth animation. |
width | The width of rendered area in points. |
height | The height of rendered area in points. |
draw_width | The width of rendered area in pixels. |
draw_height | The height of rendered area in pixels. |