#[repr(u8)]pub enum LutInput {
CosPhi = 5,
LightNormal = 3,
NormalHalf = 0,
NormalView = 2,
LightSpotLight = 4,
ViewHalf = 1,
}Expand description
This is used to decide what the input should be to a Lut
Variants§
CosPhi = 5
Cosine of the angle from the light direction (spotlights).
LightNormal = 3
Dot product of the light and normal vectors.
NormalHalf = 0
Half the normal.
NormalView = 2
Dot product of the view and normal.
LightSpotLight = 4
Dot product of the spotlight colour and light vector.
ViewHalf = 1
Half the view vector.
Trait Implementations§
Source§impl Ord for LutInput
impl Ord for LutInput
Source§impl PartialOrd for LutInput
impl PartialOrd for LutInput
impl Copy for LutInput
impl Eq for LutInput
impl StructuralPartialEq for LutInput
Auto Trait Implementations§
impl Freeze for LutInput
impl RefUnwindSafe for LutInput
impl Send for LutInput
impl Sync for LutInput
impl Unpin for LutInput
impl UnwindSafe for LutInput
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)