pub struct MotionBlurParams {
pub enabled: bool,
pub samples: u8,
pub scale: f32,
pub max_length: f32,
pub falloff: f32,
pub camera_blur: bool,
pub camera_blur_scale: f32,
pub quality: BlurQuality,
pub temporal: f32,
}Expand description
Motion blur pass parameters.
Fields§
§enabled: bool§samples: u8Maximum number of samples along the velocity vector per pixel. Higher = smoother.
scale: f32How strongly velocity translates to blur offset (in UV units per m/s equivalent).
max_length: f32Clamp maximum blur length in UV units (prevents extreme blurring).
falloff: f32Sample weight falloff: 0.0 = uniform, 1.0 = exponential decay toward tail.
camera_blur: boolWhether to include camera motion blur (blur entire frame by camera velocity).
camera_blur_scale: f32Camera blur strength multiplier (independent of per-glyph blur).
quality: BlurQualityBlur quality: sharper = fewer artifacts but less smoothness.
temporal: f32Temporal accumulation factor (0.0 = per-frame, 0.9 = heavy ghosting).
Implementations§
Source§impl MotionBlurParams
impl MotionBlurParams
Sourcepub fn chaos_warp(intensity: f32) -> Self
pub fn chaos_warp(intensity: f32) -> Self
Chaos Rift hyper-blur (extreme blur for dimensional distortion).
Trait Implementations§
Source§impl Clone for MotionBlurParams
impl Clone for MotionBlurParams
Source§impl Debug for MotionBlurParams
impl Debug for MotionBlurParams
Auto Trait Implementations§
impl Freeze for MotionBlurParams
impl RefUnwindSafe for MotionBlurParams
impl Send for MotionBlurParams
impl Sync for MotionBlurParams
impl Unpin for MotionBlurParams
impl UnsafeUnpin for MotionBlurParams
impl UnwindSafe for MotionBlurParams
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,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.