pub enum MaterialAspect {
Color,
Normal,
MetallicRoughness,
Occlusion,
Emission,
}Expand description
The aspect of a material
Variants§
Color
Color (notionally RGBA as 4xf32)
Normal
Normal
MetallicRoughness
MetallicRoughness (notionally MR as 2xf32)
Occlusion
Occlusion (as f32)
Emission
Emission (as f32)
Trait Implementations§
Source§impl Clone for MaterialAspect
impl Clone for MaterialAspect
Source§fn clone(&self) -> MaterialAspect
fn clone(&self) -> MaterialAspect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MaterialAspect
Source§impl Debug for MaterialAspect
impl Debug for MaterialAspect
impl Eq for MaterialAspect
Source§impl PartialEq for MaterialAspect
impl PartialEq for MaterialAspect
Source§fn eq(&self, other: &MaterialAspect) -> bool
fn eq(&self, other: &MaterialAspect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MaterialAspect
Auto Trait Implementations§
impl Freeze for MaterialAspect
impl RefUnwindSafe for MaterialAspect
impl Send for MaterialAspect
impl Sync for MaterialAspect
impl Unpin for MaterialAspect
impl UnsafeUnpin for MaterialAspect
impl UnwindSafe for MaterialAspect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more