Introduce draw_mesh_cache in mesh::Renderer
This commit is contained in:
parent
42bc4af972
commit
afb3b8fce6
8 changed files with 119 additions and 69 deletions
|
|
@ -224,6 +224,10 @@ where
|
|||
fn draw_mesh(&mut self, mesh: graphics::Mesh) {
|
||||
delegate!(self, renderer, renderer.draw_mesh(mesh));
|
||||
}
|
||||
|
||||
fn draw_mesh_cache(&mut self, cache: mesh::Cache) {
|
||||
delegate!(self, renderer, renderer.draw_mesh_cache(cache));
|
||||
}
|
||||
}
|
||||
|
||||
/// A compositor `A` with a fallback strategy `B`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue