pub struct ResolvedMaterialParams {
pub ambient: f64,
pub diffuse: f64,
pub specular: f64,
pub roughness: f64,
pub metallic: f64,
pub emissive: Color,
pub emissive_intensity: f64,
}Expand description
Plain material coefficients for one settled drawing operation.
Fields§
§ambient: f64§diffuse: f64§specular: f64§roughness: f64§metallic: f64§emissive: Color§emissive_intensity: f64Trait Implementations§
Source§impl Clone for ResolvedMaterialParams
impl Clone for ResolvedMaterialParams
Source§fn clone(&self) -> ResolvedMaterialParams
fn clone(&self) -> ResolvedMaterialParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedMaterialParams
impl Debug for ResolvedMaterialParams
Source§impl PartialEq for ResolvedMaterialParams
impl PartialEq for ResolvedMaterialParams
impl StructuralPartialEq for ResolvedMaterialParams
Auto Trait Implementations§
impl Freeze for ResolvedMaterialParams
impl RefUnwindSafe for ResolvedMaterialParams
impl Send for ResolvedMaterialParams
impl Sync for ResolvedMaterialParams
impl Unpin for ResolvedMaterialParams
impl UnsafeUnpin for ResolvedMaterialParams
impl UnwindSafe for ResolvedMaterialParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.