diff options
Diffstat (limited to 'wgpu/src')
-rw-r--r-- | wgpu/src/backend.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wgpu/src/backend.rs b/wgpu/src/backend.rs index 129e9bca..20809373 100644 --- a/wgpu/src/backend.rs +++ b/wgpu/src/backend.rs @@ -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(); } |