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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for NormalDistributionFunction
impl Debug for NormalDistributionFunction
source§impl PartialEq for NormalDistributionFunction
impl PartialEq for NormalDistributionFunction
source§fn eq(&self, other: &NormalDistributionFunction) -> bool
fn eq(&self, other: &NormalDistributionFunction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for NormalDistributionFunction
impl StructuralPartialEq for NormalDistributionFunction
Auto Trait Implementations§
impl RefUnwindSafe for NormalDistributionFunction
impl Send for NormalDistributionFunction
impl Sync for NormalDistributionFunction
impl Unpin for NormalDistributionFunction
impl UnwindSafe for NormalDistributionFunction
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