pub enum MaterialTextureSlot {
BaseColor,
Normal,
MetallicRoughness,
Occlusion,
Emissive,
}Expand description
A material texture slot with stable source-format meaning.
Declaration order is the stable wire order used by material-resource measurements.
Variants§
BaseColor
Base-color texture.
Normal
Tangent-space normal texture.
MetallicRoughness
Combined metallic-roughness texture.
Occlusion
Occlusion texture.
Emissive
Emissive texture.
Trait Implementations§
Source§impl Clone for MaterialTextureSlot
impl Clone for MaterialTextureSlot
Source§fn clone(&self) -> MaterialTextureSlot
fn clone(&self) -> MaterialTextureSlot
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 MaterialTextureSlot
Source§impl Debug for MaterialTextureSlot
impl Debug for MaterialTextureSlot
Source§impl<'de> Deserialize<'de> for MaterialTextureSlot
impl<'de> Deserialize<'de> for MaterialTextureSlot
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 MaterialTextureSlot
Source§impl Ord for MaterialTextureSlot
impl Ord for MaterialTextureSlot
Source§fn cmp(&self, other: &MaterialTextureSlot) -> Ordering
fn cmp(&self, other: &MaterialTextureSlot) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MaterialTextureSlot
impl PartialEq for MaterialTextureSlot
Source§impl PartialOrd for MaterialTextureSlot
impl PartialOrd for MaterialTextureSlot
Source§impl Serialize for MaterialTextureSlot
impl Serialize for MaterialTextureSlot
impl StructuralPartialEq for MaterialTextureSlot
Auto Trait Implementations§
impl Freeze for MaterialTextureSlot
impl RefUnwindSafe for MaterialTextureSlot
impl Send for MaterialTextureSlot
impl Sync for MaterialTextureSlot
impl Unpin for MaterialTextureSlot
impl UnsafeUnpin for MaterialTextureSlot
impl UnwindSafe for MaterialTextureSlot
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