pub struct GlassFaceResponse {
pub gain: f32,
pub start_dp: f32,
pub end_dp: f32,
pub illumination: f32,
}Expand description
Face attenuation before edge lighting, followed by additive illumination. Edge lenses attenuate the inner refraction image before chromatic sampling. Invalid or nonfinite parameters disable the response.
Fields§
§gain: f32Interior color gain, from zero to one.
start_dp: f32Screen-space depth in dp where attenuation starts.
end_dp: f32Screen-space depth in dp where attenuation reaches its interior gain. Equal start and end apply the gain uniformly.
illumination: f32Light added to each color channel inside the silhouette after edge lighting.
Trait Implementations§
Source§impl Clone for GlassFaceResponse
impl Clone for GlassFaceResponse
impl Copy for GlassFaceResponse
Source§impl Debug for GlassFaceResponse
impl Debug for GlassFaceResponse
Source§impl PartialEq for GlassFaceResponse
impl PartialEq for GlassFaceResponse
impl StructuralPartialEq for GlassFaceResponse
Auto Trait Implementations§
impl Freeze for GlassFaceResponse
impl RefUnwindSafe for GlassFaceResponse
impl Send for GlassFaceResponse
impl Sync for GlassFaceResponse
impl Unpin for GlassFaceResponse
impl UnsafeUnpin for GlassFaceResponse
impl UnwindSafe for GlassFaceResponse
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