[−][src]Struct tray_rust::material::merl::Merl
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]
fn bsdf<'a, 'b, 'c>(
&'a self,
hit: &Intersection<'a, 'b>,
alloc: &'c Allocator
) -> BSDF<'c> where
'a: 'c,
[src]
&'a self,
hit: &Intersection<'a, 'b>,
alloc: &'c Allocator
) -> BSDF<'c> where
'a: 'c,
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,