[][src]Function amethyst_rendy::rendy::texture::mip_levels_from_dims

pub fn mip_levels_from_dims(width: u32, height: u32) -> u8

Calculate the number of mip levels for a 2D image with given dimensions