#[repr(u32)]pub enum LightMode {
SingleColor = 0,
SeparateSpecularColor = 1,
}Expand description
Light modes
Variants§
SingleColor = 0
SeparateSpecularColor = 1
Separate specular colors are used to interpolate the specular component independently, so that it can be added to the fragment after the texture color.
Auto Trait Implementations§
impl Freeze for LightMode
impl RefUnwindSafe for LightMode
impl Send for LightMode
impl Sync for LightMode
impl Unpin for LightMode
impl UnsafeUnpin for LightMode
impl UnwindSafe for LightMode
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