pub struct TemporalScalerFrameState {
pub input_content_width: usize,
pub input_content_height: usize,
pub pre_exposure: f32,
pub jitter_offset_x: f32,
pub jitter_offset_y: f32,
pub motion_vector_scale_x: f32,
pub motion_vector_scale_y: f32,
pub reset: bool,
pub depth_reversed: bool,
}Expand description
Re-exports the Metal framework surface for this item.
Per-frame mutable state for MTLFXTemporalScaler.
Fields§
§input_content_width: usizeMirrors the Metal framework property for input_content_width.
input_content_height: usizeMirrors the Metal framework property for input_content_height.
pre_exposure: f32Mirrors the Metal framework property for pre_exposure.
jitter_offset_x: f32Mirrors the Metal framework property for jitter_offset_x.
jitter_offset_y: f32Mirrors the Metal framework property for jitter_offset_y.
motion_vector_scale_x: f32Mirrors the Metal framework property for motion_vector_scale_x.
motion_vector_scale_y: f32Mirrors the Metal framework property for motion_vector_scale_y.
reset: boolMirrors the Metal framework property for reset.
depth_reversed: boolMirrors the Metal framework property for depth_reversed.
Implementations§
Trait Implementations§
Source§impl Clone for TemporalScalerFrameState
impl Clone for TemporalScalerFrameState
Source§fn clone(&self) -> TemporalScalerFrameState
fn clone(&self) -> TemporalScalerFrameState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TemporalScalerFrameState
Auto Trait Implementations§
impl Freeze for TemporalScalerFrameState
impl RefUnwindSafe for TemporalScalerFrameState
impl Send for TemporalScalerFrameState
impl Sync for TemporalScalerFrameState
impl Unpin for TemporalScalerFrameState
impl UnsafeUnpin for TemporalScalerFrameState
impl UnwindSafe for TemporalScalerFrameState
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