Function egui_wgpu::depth_format_from_bits

source ·
pub fn depth_format_from_bits(
    depth_buffer: u8,
    stencil_buffer: u8,
) -> Option<TextureFormat>
Expand description

Take’s epi’s depth/stencil bits and returns the corresponding wgpu format.