[][src]Struct pbrt::core::reflection::FourierBSDFTable

pub struct FourierBSDFTable {
    pub eta: Float,
    pub m_max: i32,
    pub n_channels: i32,
    pub n_mu: i32,
    pub mu: Vec<Float>,
    pub m: Vec<i32>,
    pub a_offset: Vec<i32>,
    pub a: Vec<Float>,
    pub a0: Vec<Float>,
    pub cdf: Vec<Float>,
    pub recip: Vec<Float>,
}

Fields

eta: Floatm_max: i32n_channels: i32n_mu: i32mu: Vec<Float>m: Vec<i32>a_offset: Vec<i32>a: Vec<Float>a0: Vec<Float>cdf: Vec<Float>recip: Vec<Float>

Implementations

impl FourierBSDFTable[src]

pub fn read(&mut self, filename: &str) -> bool[src]

pub fn get_ak(&self, offset_i: i32, offset_o: i32, mptr: &mut i32) -> i32[src]

pub fn get_weights_and_offset(
    &self,
    cos_theta: Float,
    offset: &mut i32,
    weights: &mut [Float; 4]
) -> bool
[src]

Trait Implementations

impl Default for FourierBSDFTable[src]

Auto Trait Implementations

impl RefUnwindSafe for FourierBSDFTable

impl Send for FourierBSDFTable

impl Sync for FourierBSDFTable

impl Unpin for FourierBSDFTable

impl UnwindSafe for FourierBSDFTable

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.