Add documentation to Backend::recall in iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2024-03-29 09:57:11 +01:00
parent 2bb53ad6e7
commit 0a97b9e37a
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -131,7 +131,10 @@ impl Backend {
self.image_pipeline.end_frame();
}
/// Recalls staging memory for future uploads.
///
/// This method should be called after the command encoder
/// has been submitted.
pub fn recall(&mut self) {
self.staging_belt.recall();
}