Skip to main content

create_depth_texture

Function create_depth_texture 

Source
pub fn create_depth_texture(
    device: &Device,
    width: u32,
    height: u32,
) -> TextureView
Expand description

Create a depth texture for the given surface dimensions.