Struct TemporalResolveInputs
pub struct TemporalResolveInputs<'scene, 'producer> {
pub extent: (u32, u32),
pub current_scene: &'scene TextureView,
pub current_linear_depth: &'producer TextureView,
pub motion_vectors: &'producer TextureView,
pub reactive_mask: &'producer TextureView,
}Expand description
Real producer views required to admit a temporal resolve.
motion_vectors are UV-space vectors pointing from the current pixel to its
previous-frame location. reactive_mask.r is normalized to [0, 1], where
one rejects history. All views must have the helper’s extent and one sample.
Fields§
§extent: (u32, u32)§current_scene: &'scene TextureView§current_linear_depth: &'producer TextureView§motion_vectors: &'producer TextureView§reactive_mask: &'producer TextureViewAuto Trait Implementations§
impl<'scene, 'producer> !RefUnwindSafe for TemporalResolveInputs<'scene, 'producer>
impl<'scene, 'producer> !UnwindSafe for TemporalResolveInputs<'scene, 'producer>
impl<'scene, 'producer> Freeze for TemporalResolveInputs<'scene, 'producer>
impl<'scene, 'producer> Send for TemporalResolveInputs<'scene, 'producer>
impl<'scene, 'producer> Sync for TemporalResolveInputs<'scene, 'producer>
impl<'scene, 'producer> Unpin for TemporalResolveInputs<'scene, 'producer>
impl<'scene, 'producer> UnsafeUnpin for TemporalResolveInputs<'scene, 'producer>
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more