Function compute_copy_depth_to_pyramid

Source
pub fn compute_copy_depth_to_pyramid(
    slab: &mut [u32],
    depth_texture: &DepthImage2d,
    global_id: UVec3,
)
Expand description

Copies a depth texture to the top mip of a pyramid of mips.

It is assumed that a DepthPyramidDescriptor is stored at index 0 in the given slab.