Expand description
Parameters for a Lamberian diffusion reflection model.
Renders triangle meshes with the Gouraud illumination model.
Fields
color: Color
Solid color applied in the absense of map
.
Default: WHITE
.
flat: bool
Specifies whether lighting should be constant over faces.
Default: false
(lighting is interpolated across faces).
Trait Implementations
impl Eq for Lambert
impl StructuralEq for Lambert
impl StructuralPartialEq for Lambert
Auto Trait Implementations
impl RefUnwindSafe for Lambert
impl Send for Lambert
impl Sync for Lambert
impl Unpin for Lambert
impl UnwindSafe for Lambert
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.