#[repr(u32)]pub enum MaterialSemantic {
Show 26 variants
BaseColor = 0,
Subsurface = 1,
Metallic = 2,
Specular = 3,
SpecularExponent = 4,
SpecularTint = 5,
Roughness = 6,
Anisotropic = 7,
AnisotropicRotation = 8,
Sheen = 9,
SheenTint = 10,
Clearcoat = 11,
ClearcoatGloss = 12,
Emission = 13,
Bump = 14,
Opacity = 15,
InterfaceIndexOfRefraction = 16,
MaterialIndexOfRefraction = 17,
ObjectSpaceNormal = 18,
TangentSpaceNormal = 19,
Displacement = 20,
DisplacementScale = 21,
AmbientOcclusion = 22,
AmbientOcclusionScale = 23,
None = 32_768,
UserDefined = 32_769,
}Variants§
BaseColor = 0
Subsurface = 1
Metallic = 2
Specular = 3
SpecularExponent = 4
SpecularTint = 5
Roughness = 6
Anisotropic = 7
AnisotropicRotation = 8
Sheen = 9
SheenTint = 10
Clearcoat = 11
ClearcoatGloss = 12
Emission = 13
Bump = 14
Opacity = 15
InterfaceIndexOfRefraction = 16
MaterialIndexOfRefraction = 17
ObjectSpaceNormal = 18
TangentSpaceNormal = 19
Displacement = 20
DisplacementScale = 21
AmbientOcclusion = 22
AmbientOcclusionScale = 23
None = 32_768
UserDefined = 32_769
Implementations§
Trait Implementations§
Source§impl Clone for MaterialSemantic
impl Clone for MaterialSemantic
Source§fn clone(&self) -> MaterialSemantic
fn clone(&self) -> MaterialSemantic
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 moreSource§impl Debug for MaterialSemantic
impl Debug for MaterialSemantic
Source§impl PartialEq for MaterialSemantic
impl PartialEq for MaterialSemantic
Source§fn eq(&self, other: &MaterialSemantic) -> bool
fn eq(&self, other: &MaterialSemantic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MaterialSemantic
impl Eq for MaterialSemantic
impl StructuralPartialEq for MaterialSemantic
Auto Trait Implementations§
impl Freeze for MaterialSemantic
impl RefUnwindSafe for MaterialSemantic
impl Send for MaterialSemantic
impl Sync for MaterialSemantic
impl Unpin for MaterialSemantic
impl UnsafeUnpin for MaterialSemantic
impl UnwindSafe for MaterialSemantic
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