Split record_render_commands and bind_commands
This commit is contained in:
parent
078e9daba9
commit
f91c0792b2
6 changed files with 83 additions and 85 deletions
|
@ -44,7 +44,7 @@ impl Square {
|
|||
}
|
||||
}
|
||||
|
||||
impl AsRenderableMesh<Vertex3D, u32> for Square {
|
||||
impl AsRenderableMesh<Vertex3D, Subbuffer<[u32]>> for Square {
|
||||
fn vertex_buffer(&self) -> &Subbuffer<[Vertex3D]> {
|
||||
&self.vertex_buffer
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue