pub fn mip_level_count(size: UVec2) -> u32
Mip levels for a texture of size — the full chain down to 1×1.
size