bevy_core_pipeline::experimental::mip_generation

Constant DEPTH_PYRAMID_MIP_COUNT

Source
pub const DEPTH_PYRAMID_MIP_COUNT: usize = 12;
Expand description

The maximum number of mip levels that we can produce.

2^12 is 4096, so that’s the maximum size of the depth buffer that we support.