#[repr(i32)]pub enum MaterialShaderType {
Material = 0,
MaterialMedium = 1,
MaterialSimple = 2,
MaterialParticle = 3,
MaterialSplat = 4,
}Expand description
Shader family that prefixes a data-driven material’s permutation name
Selects the base token the renderer seeds the effect-name hash with, before appending the fragment names.
Variants§
Material = 0
“Material”
MaterialMedium = 1
“MaterialMedium”
MaterialSimple = 2
“MaterialSimple”
MaterialParticle = 3
“MaterialParticle”
MaterialSplat = 4
“MaterialSplat”
Trait Implementations§
Source§impl Clone for MaterialShaderType
impl Clone for MaterialShaderType
Source§fn clone(&self) -> MaterialShaderType
fn clone(&self) -> MaterialShaderType
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 MaterialShaderType
Source§impl Debug for MaterialShaderType
impl Debug for MaterialShaderType
impl Eq for MaterialShaderType
Source§impl Hash for MaterialShaderType
impl Hash for MaterialShaderType
Source§impl PartialEq for MaterialShaderType
impl PartialEq for MaterialShaderType
impl StructuralPartialEq for MaterialShaderType
Auto Trait Implementations§
impl Freeze for MaterialShaderType
impl RefUnwindSafe for MaterialShaderType
impl Send for MaterialShaderType
impl Sync for MaterialShaderType
impl Unpin for MaterialShaderType
impl UnsafeUnpin for MaterialShaderType
impl UnwindSafe for MaterialShaderType
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