Struct amethyst_renderer::Material
[−]
pub struct Material { pub albedo: Texture, pub emission: Texture, pub normal: Texture, pub metallic: Texture, pub roughness: Texture, pub ambient_occlusion: Texture, pub caveat: Texture, }
Material struct.
Fields
albedo: Texture
Diffuse map.
emission: Texture
Emission map.
normal: Texture
Normal map.
metallic: Texture
Metallic map.
roughness: Texture
Roughness map.
ambient_occlusion: Texture
Ambient occlusion map.
caveat: Texture
Caveat map.
Trait Implementations
impl Clone for Material
[src]
fn clone(&self) -> Material
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Material
[src]
impl Eq for Material
[src]
impl Hash for Material
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more