Struct smallpt::material::Material[][src]

pub struct Material {
    pub emission: Vector3<f64>,
    pub albedo: Vector3<f64>,
    pub bsdf: BSDF,
}

Fields

Methods

impl Material
[src]

Trait Implementations

impl Copy for Material
[src]

impl Clone for Material
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Material

impl Sync for Material