20 lines
582 B
Rust
20 lines
582 B
Rust
use crate::core::image::Image;
|
|
use crate::core::material::CreateMaterial;
|
|
use crate::utils::{Arena, FileLoc, TextureParameterDictionary};
|
|
use anyhow::Result;
|
|
use shared::core::material::Material;
|
|
use shared::materials::MixMaterial;
|
|
use std::collections::HashMap;
|
|
use std::sync::Arc;
|
|
|
|
impl CreateMaterial for MixMaterial {
|
|
fn create(
|
|
_parameters: &TextureParameterDictionary,
|
|
_normal_map: Option<Arc<Image>>,
|
|
_named_materials: &HashMap<String, Material>,
|
|
_loc: &FileLoc,
|
|
_arena: &Arena,
|
|
) -> Result<Material> {
|
|
todo!()
|
|
}
|
|
}
|