mirror of
https://github.com/guilhermewerner/wgpu-renderer
synced 2025-06-16 22:04:24 +00:00
3d model loading
This commit is contained in:
7
Source/Material.rs
Normal file
7
Source/Material.rs
Normal file
@ -0,0 +1,7 @@
|
||||
use crate::Texture;
|
||||
|
||||
pub struct Material {
|
||||
pub name: String,
|
||||
pub diffuse_texture: Texture,
|
||||
pub bind_group: wgpu::BindGroup,
|
||||
}
|
Reference in New Issue
Block a user