pub struct PostParams {
pub decay: f32,
pub gamma: f32,
pub echo_zoom: f32,
pub echo_alpha: f32,
pub echo_orient: i32,
pub brighten: bool,
pub darken: bool,
pub solarize: bool,
pub invert: bool,
pub wrap: bool,
pub fshader: f32,
}Expand description
Decay, composite-pass controls.
Fields§
§decay: f32var_pf_decay (no-shader warp: multiplies the sampled image; quantised to 8 bit as MD2 does).
gamma: f32var_pf_gamma (already clamped to 0..8 by the engine as MD2 does).
echo_zoom: f32var_pf_echo_zoom (clamped to 0.001..1000).
echo_alpha: f32var_pf_echo_alpha.
echo_orient: i32(int)var_pf_echo_orient % 4.
brighten: boolvar_pf_brighten (non-zero == true).
darken: boolvar_pf_darken.
solarize: boolvar_pf_solarize.
invert: boolvar_pf_invert.
wrap: boolvar_pf_wrap > 0.5 (m_fSnapPoint): address mode of the no-shader warp sampler.
fshader: f32Preset field fShader (m_fShader.eval()): hue-shader amount for the no-shader composite.
Trait Implementations§
Source§impl Clone for PostParams
impl Clone for PostParams
Source§impl Debug for PostParams
impl Debug for PostParams
Auto Trait Implementations§
impl Forget for PostParams
impl Freeze for PostParams
impl Move for PostParams
impl RefUnwindSafe for PostParams
impl Send for PostParams
impl Sync for PostParams
impl Unpin for PostParams
impl UnsafeUnpin for PostParams
impl UnwindSafe for PostParams
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