pub enum NormalDistributionFunction {
Blinn,
Beckmann,
TrowbridgeReitzGGX,
}Expand description
The normal distribution function used in a Cook-Torrance lighting model.
Variants§
Trait Implementations§
Source§impl Clone for NormalDistributionFunction
impl Clone for NormalDistributionFunction
Source§fn clone(&self) -> NormalDistributionFunction
fn clone(&self) -> NormalDistributionFunction
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 NormalDistributionFunction
Source§impl Debug for NormalDistributionFunction
impl Debug for NormalDistributionFunction
impl Eq for NormalDistributionFunction
Source§impl PartialEq for NormalDistributionFunction
impl PartialEq for NormalDistributionFunction
Source§fn eq(&self, other: &NormalDistributionFunction) -> bool
fn eq(&self, other: &NormalDistributionFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NormalDistributionFunction
Auto Trait Implementations§
impl Freeze for NormalDistributionFunction
impl RefUnwindSafe for NormalDistributionFunction
impl Send for NormalDistributionFunction
impl Sync for NormalDistributionFunction
impl Unpin for NormalDistributionFunction
impl UnsafeUnpin for NormalDistributionFunction
impl UnwindSafe for NormalDistributionFunction
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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