RenderPassColorAttachment::depth_slice
This example shows how to generate and make use of mipmaps.
cargo run --bin wgpu-examples mipmap