mirror of
https://github.com/guilhermewerner/wgpu-renderer
synced 2025-06-16 13:54:21 +00:00
3d model loading
This commit is contained in:
7
Source/Mesh.rs
Normal file
7
Source/Mesh.rs
Normal file
@ -0,0 +1,7 @@
|
||||
pub struct Mesh {
|
||||
pub name: String,
|
||||
pub vertex_buffer: wgpu::Buffer,
|
||||
pub index_buffer: wgpu::Buffer,
|
||||
pub num_elements: u32,
|
||||
pub material: usize,
|
||||
}
|
Reference in New Issue
Block a user