Struct amethyst_renderer::Material
[−]
[src]
pub struct Material { pub albedo: TextureHandle, pub emission: TextureHandle, pub normal: TextureHandle, pub metallic: TextureHandle, pub roughness: TextureHandle, pub ambient_occlusion: TextureHandle, pub caveat: TextureHandle, }
Material struct.
Fields
albedo: TextureHandle
Diffuse map.
emission: TextureHandle
Emission map.
normal: TextureHandle
Normal map.
metallic: TextureHandle
Metallic map.
roughness: TextureHandle
Roughness map.
ambient_occlusion: TextureHandle
Ambient occlusion map.
caveat: TextureHandle
Caveat map.
Trait Implementations
impl Clone for Material
[src]
fn clone(&self) -> Material
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Material
[src]
impl Hash for Material
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Material
[src]
fn eq(&self, __arg_0: &Material) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Material) -> bool
[src]
This method tests for !=
.
impl Component for Material
[src]
type Storage = DenseVecStorage<Self>
Associated storage type for this component.