Initial wgpu abstraction

This commit is contained in:
Werner
2021-11-09 21:07:16 -03:00
parent 15e8989bef
commit b23bc27f55
25 changed files with 775 additions and 209 deletions

@ -1,3 +1,5 @@
use super::VertexBufferLayout;
pub trait Vertex {
fn GetDescriptor<'a>() -> wgpu::VertexBufferLayout<'a>;
fn GetLayout() -> VertexBufferLayout;
}