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§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.