pub enum TextureSlot {
BaseColor,
MetallicRoughness,
Normal,
Emissive,
}Expand description
Which map of a MaterialDef a texture fills.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TextureSlot
impl Clone for TextureSlot
impl Copy for TextureSlot
Source§impl Debug for TextureSlot
impl Debug for TextureSlot
Source§impl<'de> Deserialize<'de> for TextureSlot
impl<'de> Deserialize<'de> for TextureSlot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TextureSlot
Source§impl Hash for TextureSlot
impl Hash for TextureSlot
Source§impl PartialEq for TextureSlot
impl PartialEq for TextureSlot
Source§impl Serialize for TextureSlot
impl Serialize for TextureSlot
impl StructuralPartialEq for TextureSlot
Auto Trait Implementations§
impl Freeze for TextureSlot
impl RefUnwindSafe for TextureSlot
impl Send for TextureSlot
impl Sync for TextureSlot
impl Unpin for TextureSlot
impl UnsafeUnpin for TextureSlot
impl UnwindSafe for TextureSlot
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