Struct TemporalOutputSchedule
pub struct TemporalOutputSchedule {
pub enabled: bool,
pub reset_history: bool,
pub reads_history: bool,
pub publish_history: bool,
pub final_output: bool,
}Expand description
Ordered temporal handoff selected while compiling a frame graph.
TemporalResolveGpu consumes this contract rather than guessing whether a host has supplied
the required motion-vector and reactive-mask views. Linear depth is produced by the renderer
from its authoritative scene-depth attachment. A disabled contract must leave the existing
output path untouched.
Fields§
§enabled: bool§reset_history: bool§reads_history: bool§publish_history: bool§final_output: boolImplementations§
§impl TemporalOutputSchedule
impl TemporalOutputSchedule
pub const fn disabled() -> TemporalOutputSchedule
pub const fn disabled() -> TemporalOutputSchedule
TemporalOutputSchedule::disabled.
pub const fn fail_closed() -> TemporalOutputSchedule
pub const fn fail_closed() -> TemporalOutputSchedule
TemporalOutputSchedule::fail_closed.
pub const fn is_valid(self) -> bool
pub const fn is_valid(self) -> bool
Whether a backend may record the complete resolve/publication/output handoff.
Reset frames never read history, and a temporal schedule must publish before its final
output. The pass-order part is checked by CompiledSchedule::temporal_order_is_valid.
pub const fn is_complete(self) -> bool
pub const fn is_complete(self) -> bool
true when complete.
pub const fn with_reset_history(self) -> TemporalOutputSchedule
pub const fn with_reset_history(self) -> TemporalOutputSchedule
Builder: reset-history.
Trait Implementations§
§impl Clone for TemporalOutputSchedule
impl Clone for TemporalOutputSchedule
§fn clone(&self) -> TemporalOutputSchedule
fn clone(&self) -> TemporalOutputSchedule
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 TemporalOutputSchedule
§impl Debug for TemporalOutputSchedule
impl Debug for TemporalOutputSchedule
§impl Default for TemporalOutputSchedule
impl Default for TemporalOutputSchedule
§fn default() -> TemporalOutputSchedule
fn default() -> TemporalOutputSchedule
Returns the “default value” for a type. Read more
impl Eq for TemporalOutputSchedule
§impl PartialEq for TemporalOutputSchedule
impl PartialEq for TemporalOutputSchedule
impl StructuralPartialEq for TemporalOutputSchedule
Auto Trait Implementations§
impl Freeze for TemporalOutputSchedule
impl RefUnwindSafe for TemporalOutputSchedule
impl Send for TemporalOutputSchedule
impl Sync for TemporalOutputSchedule
impl Unpin for TemporalOutputSchedule
impl UnsafeUnpin for TemporalOutputSchedule
impl UnwindSafe for TemporalOutputSchedule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.