[][src]Function nannou::ui::create_render_pass

pub fn create_render_pass(
    device: Arc<Device>,
    color_format: Format,
    depth_format: Format,
    msaa_samples: u32
) -> Result<Arc<dyn RenderPassAbstract + Send + Sync>, RenderPassCreationError>

Create a minimal, single-pass render pass with which the Ui may be rendered.

This is used internally within the Ui build process so in most cases you should not need to know about it. However, it is exposed in case for some reason you require manually creating it.