diff options
author | 2024-03-29 09:57:11 +0100 | |
---|---|---|
committer | 2024-03-29 09:57:11 +0100 | |
commit | 0a97b9e37ae115bb0db33193c8a6b62590a3cd2c (patch) | |
tree | 30a65849962df151bc6f06f46fac1e5ac6f72776 /wgpu | |
parent | 2bb53ad6e7ea2689f2f56662e5840a8d363b3108 (diff) | |
download | iced-0a97b9e37ae115bb0db33193c8a6b62590a3cd2c.tar.gz iced-0a97b9e37ae115bb0db33193c8a6b62590a3cd2c.tar.bz2 iced-0a97b9e37ae115bb0db33193c8a6b62590a3cd2c.zip |
Add documentation to `Backend::recall` in `iced_wgpu`
Diffstat (limited to 'wgpu')
-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(); } |