pub fn texture_bytes( format: TextureFormat, size: (u32, u32), layers: u32, mips: u32, samples: u32, ) -> u64
Estimated size in bytes of a 2D texture with all its mips, layers and samples.