Introduce Pipeline trait in wgpu::primitive
Co-authored-by: roguetechh <roguedotllc@gmail.com>
This commit is contained in:
parent
a4829306cb
commit
e937bf2bac
5 changed files with 61 additions and 44 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue