[][src]Struct tray_rust::bxdf::merl::Merl

pub struct Merl<'a> { /* fields omitted */ }

BRDF that uses measured data to model the surface reflectance properties. The measured data is from "A Data-Driven Reflectance Model", by Wojciech Matusik, Hanspeter Pfister, Matt Brand and Leonard McMillan, in ACM Transactions on Graphics 22, 3(2003), 759-769

Methods

impl<'a> Merl<'a>[src]

pub fn new(
    brdf: &'a [f32],
    n_theta_h: usize,
    n_theta_d: usize,
    n_phi_d: usize
) -> Merl<'a>
[src]

Create a MERL BRDF to use data loaded from a MERL BRDF data file

Trait Implementations

impl<'a> BxDF for Merl<'a>[src]

impl<'a> Clone for Merl<'a>[src]

impl<'a> Copy for Merl<'a>[src]

Auto Trait Implementations

impl<'a> Send for Merl<'a>

impl<'a> Sync for Merl<'a>

impl<'a> Unpin for Merl<'a>

impl<'a> UnwindSafe for Merl<'a>

impl<'a> RefUnwindSafe for Merl<'a>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> SetParameter for T[src]