Introduce Pipeline trait in wgpu::primitive

Co-authored-by: roguetechh <roguedotllc@gmail.com>
This commit is contained in:
Héctor Ramón Jiménez 2025-11-25 09:36:25 +01:00
parent a4829306cb
commit e937bf2bac
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 61 additions and 44 deletions

View file

@ -66,4 +66,13 @@ impl Engine {
&self._shell,
)
}
pub fn trim(&mut self) {
self.text_pipeline.trim();
self.primitive_storage
.write()
.expect("primitive storage should be writable")
.trim();
}
}