#[repr(u8)]pub enum BumpMappingMode {
NotUsed = 0,
AsBump = 1,
AsTangent = 2,
}Expand description
Bump map modes.
Variants§
NotUsed = 0
Disabled.
AsBump = 1
Bump as bump mapping.
AsTangent = 2
Bump as tangent/normal mapping.
Trait Implementations§
Source§impl Clone for BumpMappingMode
impl Clone for BumpMappingMode
Source§fn clone(&self) -> BumpMappingMode
fn clone(&self) -> BumpMappingMode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BumpMappingMode
impl Debug for BumpMappingMode
Source§impl PartialEq for BumpMappingMode
impl PartialEq for BumpMappingMode
Source§impl TryFrom<u8> for BumpMappingMode
impl TryFrom<u8> for BumpMappingMode
impl Copy for BumpMappingMode
impl Eq for BumpMappingMode
impl StructuralPartialEq for BumpMappingMode
Auto Trait Implementations§
impl Freeze for BumpMappingMode
impl RefUnwindSafe for BumpMappingMode
impl Send for BumpMappingMode
impl Sync for BumpMappingMode
impl Unpin for BumpMappingMode
impl UnwindSafe for BumpMappingMode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)