Skip to main content

mip_size

Function mip_size 

Source
pub fn mip_size(format: u32, width: u32, height: u32) -> Result<usize>
Expand description

Compute a level’s encoded size with format and dimension validation.