pub struct Md2OldPass {
pub q: [f32; 32],
pub blur: BlurParams,
pub ext: ShaderExt,
pub warp_random: Option<PassRandom>,
pub comp_random: Option<PassRandom>,
}Expand description
What the old state contributes to the shader passes of a blend frame (its ApplyShaderParams(.., m_pOldState)
inputs that differ from the new state’s: q1..q32, blur range, rand_preset / rot_*).
Fields§
§q: [f32; 32]m_pOldState->var_pf_q[0..32] after its per-frame code.
blur: BlurParamsThe old state’s own (unblended) var_pf_blur* (GetSafeBlurMinMax(m_pOldState)).
ext: ShaderExtMilkDrop 3: the old state’s _c14 / _qi.._qp / shader time (ShaderExt::fft is ignored here).
warp_random: Option<PassRandom>Random state of the old warp / composite pass (m_pOldState->m_rand_preset, m_rot_*; rand_frame is the
frame’s one m_rand_frame).
comp_random: Option<PassRandom>Random state of the old composite pass.
Trait Implementations§
Source§impl Clone for Md2OldPass
impl Clone for Md2OldPass
Auto Trait Implementations§
impl Freeze for Md2OldPass
impl RefUnwindSafe for Md2OldPass
impl Send for Md2OldPass
impl Sync for Md2OldPass
impl Unpin for Md2OldPass
impl UnsafeUnpin for Md2OldPass
impl UnwindSafe for Md2OldPass
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