[][src]Struct pbrt::core::bssrdf::BssrdfTable

pub struct BssrdfTable {
    pub n_rho_samples: i32,
    pub n_radius_samples: i32,
    pub rho_samples: Vec<Float>,
    pub radius_samples: Vec<Float>,
    pub profile: Vec<Float>,
    pub rho_eff: Vec<Float>,
    pub profile_cdf: Vec<Float>,
}

Fields

n_rho_samples: i32n_radius_samples: i32rho_samples: Vec<Float>radius_samples: Vec<Float>profile: Vec<Float>rho_eff: Vec<Float>profile_cdf: Vec<Float>

Implementations

impl BssrdfTable[src]

pub fn new(n_rho_samples: i32, n_radius_samples: i32) -> Self[src]

pub fn eval_profile(&self, rho_index: i32, radius_index: i32) -> Float[src]

Auto Trait Implementations

impl RefUnwindSafe for BssrdfTable

impl Send for BssrdfTable

impl Sync for BssrdfTable

impl Unpin for BssrdfTable

impl UnwindSafe for BssrdfTable

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, 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.