/// Same as above, recreates vulkan framebuffers
Same as above, recreates vulkan framebuffers
Same as above recreates vulkan framebuffers
pub fn recreate_framebuffers(
    &mut self, logical_device: &Device, resolve_attachment: Option<&ResolveAttachment>,
    depth_buffer: &DepthAttachment, render_targets: &[ImageAndView], new_extent: vk::Extent2D,
  ) -> SarektResult<()> {
    self.framebuffers = Self::create_framebuffers(
      logical_device,
      self.forward_render_pass,
      resolve_attachment,
      depth_buffer,
      render_targets,
      new_extent,
    )?;
    Ok(())
  }
pub fn recreate_framebuffers ( & mut self , logical_device : & Device , resolve_attachment : Option < & ResolveAttachment > , depth_buffer : & DepthAttachment , render_targets : & [ ImageAndView ] , new_extent : vk :: Extent2D , ) -> SarektResult < ( ) > { self . framebuffers = Self :: create_framebuffers ( logical_device , self . forward_render_pass , resolve_attachment , depth_buffer , render_targets , new_extent , ) ? ; Ok ( ( ) ) }
Same as above, recreates vulkan framebuffers
Same as above recreates vulkan framebuffers
&mut self
logical_device
&Device
resolve_attachment
Option<&ResolveAttachment>
depth_buffer
&DepthAttachment
render_targets
&[ImageAndView]
new_extent
vk::Extent2D