mip_level_count
array_layer_count
TextureViewDescriptor
ImageSubresourceRange
Option<NonZeroU32>
Option<u32>
Clean up duplicated code related to texture layers/mips.
This example shows how to generate and make use of mipmaps.
cargo run --example mipmap