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

pub struct Merl { /* fields omitted */ }

Material 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 Merl[src]

pub fn load_file(path: &Path) -> Merl[src]

Create a new MERL BRDF by loading the refletance data from a MERL BRDF database file

Trait Implementations

impl Material for Merl[src]

Auto Trait Implementations

impl Send for Merl

impl Sync for Merl

impl Unpin for Merl

impl UnwindSafe for Merl

impl RefUnwindSafe for Merl

Blanket Implementations

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

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

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]