pub fn recreate_renderpasses(
    &mut self, logical_device: &Device, new_format: vk::Format, num_msaa_samples: NumSamples,
  ) -> SarektResult<()> {
    self.forward_render_pass = Self::create_forward_render_pass(
      logical_device,
      new_format,
      self
        .base_graphics_pipeline_bundle
        .depth_resources
        .as_ref()
        .unwrap(),
      num_msaa_samples,
    )?;
    Ok(())
  }
/// Recreates all render passes associated with the pipeline for swapchain
/// recreation.
Recreates all render passes associated with the pipeline for swapchain
recreation.
Recreates all render passes associated with the pipeline for swapchain recreation .
pub fn recreate_renderpasses(
    &mut self, logical_device: &Device, new_format: vk::Format, num_msaa_samples: NumSamples,
  ) -> SarektResult<()> {
    self.forward_render_pass = Self::create_forward_render_pass(
      logical_device,
      new_format,
      self
        .base_graphics_pipeline_bundle
        .depth_resources
        .as_ref()
        .unwrap(),
      num_msaa_samples,
    )?;
    Ok(())
  }
pub fn recreate_renderpasses ( & mut self , logical_device : & Device , new_format : vk :: Format , num_msaa_samples : NumSamples , ) -> SarektResult < ( ) > { self . forward_render_pass = Self :: create_forward_render_pass ( logical_device , new_format , self . base_graphics_pipeline_bundle . depth_resources . as_ref ( ) . unwrap ( ) , num_msaa_samples , ) ? ; Ok ( ( ) ) }
Recreates all render passes associated with the pipeline for swapchain
recreation.
Recreates all render passes associated with the pipeline for swapchain recreation .
&mut self
logical_device
&Device
new_format
vk::Format
num_msaa_samples
NumSamples
&mut self
logical_device
&Device
new_format
vk::Format
num_msaa_samples
NumSamples