Function read_depth_texture_to_image

Source
pub async fn read_depth_texture_to_image(
    runtime: impl AsRef<WgpuRuntime>,
    width: usize,
    height: usize,
    texture: &Texture,
) -> Result<Option<GrayImage>, TextureError>