pub(crate) fn destroy_all_images_and_buffers(&mut self) {
    for resource in self.loaded_buffers_and_images.iter() {
      if let Err(err) = self
        .buffer_image_loader
        .delete_buffer_or_image(resource.1.handle)
      {
        warn!(
          "Buffer/image not destroyed, maybe it was already? Error: {:?}",
          err
        );
      }
    }

    self.loaded_buffers_and_images.clear();
  }
/// Does what it says on the tin, but for all the buffers.  See
/// destroy_buffers.
Does what it says on the tin, but for all the buffers.
Does what it says on the tin but for all the buffers .
pub(crate) fn destroy_all_images_and_buffers(&mut self) {
    for resource in self.loaded_buffers_and_images.iter() {
      if let Err(err) = self
        .buffer_image_loader
        .delete_buffer_or_image(resource.1.handle)
      {
        warn!(
          "Buffer/image not destroyed, maybe it was already? Error: {:?}",
          err
        );
      }
    }
    self.loaded_buffers_and_images.clear();
  }
pub ( crate ) fn destroy_all_images_and_buffers ( & mut self ) { for resource in self . loaded_buffers_and_images . iter ( ) { if let Err ( err ) = self . buffer_image_loader . delete_buffer_or_image ( resource . 1 . handle ) { warn ! ( " " err ) ; } } self . loaded_buffers_and_images . clear ( ) ; }
Does what it says on the tin, but for all the buffers.
Does what it says on the tin but for all the buffers .
&mut self
&mut self