Skip to main content

density

Function density 

Source
pub fn density() -> f32
Expand description

What the Renderer last reported, or 1.0 before it has. Available outside a component too.

In a multi-window application it is the density of the window the caller is in.