[][src]Struct pbrt::materials::disney::DisneyMicrofacetDistribution

pub struct DisneyMicrofacetDistribution {
    pub inner: TrowbridgeReitzDistribution,
}

Fields

inner: TrowbridgeReitzDistribution

Implementations

impl DisneyMicrofacetDistribution[src]

pub fn new(alphax: Float, alphay: Float) -> DisneyMicrofacetDistribution[src]

pub fn d(&self, wh: &Vector3f) -> Float[src]

pub fn lambda(&self, wh: &Vector3f) -> Float[src]

pub fn g1(&self, w: &Vector3f) -> Float[src]

pub fn g(&self, wi: &Vector3f, wo: &Vector3f) -> Float[src]

pub fn pdf(&self, wo: &Vector3f, wh: &Vector3f) -> Float[src]

pub fn sample_wh(&self, wo: &Vector3f, u: &Point2f) -> Vector3f[src]

pub fn get_sample_visible_area(&self) -> bool[src]

Trait Implementations

impl Clone for DisneyMicrofacetDistribution[src]

impl Copy for DisneyMicrofacetDistribution[src]

impl Default for DisneyMicrofacetDistribution[src]

Auto Trait Implementations

impl RefUnwindSafe for DisneyMicrofacetDistribution

impl Send for DisneyMicrofacetDistribution

impl Sync for DisneyMicrofacetDistribution

impl Unpin for DisneyMicrofacetDistribution

impl UnwindSafe for DisneyMicrofacetDistribution

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.