variable number of textures?

This commit is contained in:
2021-10-22 11:03:50 +02:00
parent 0ccc56bbad
commit 8d5457c810
6 changed files with 52 additions and 35 deletions

View File

@@ -92,8 +92,7 @@ pub struct Mesh<V> {
#[derive(Debug, Clone)]
pub struct MeshHandle {
pub index: usize,
pub diffuse_handle: TextureHandle,
pub normal_handle: Option<TextureHandle>,
pub textures: Vec<TextureHandle>,
pub original_path: Option<String>,
pub pipeline_index: usize
}