pub enum WgpuFrameStage {
Unrecorded,
Recorded,
Submitted,
PresentationRequested,
}Expand description
Highest operation actually observed for one native target in one attempt.
Submission is a host queue operation. PresentationRequested means the backend called the presentation API. Neither stage proves GPU completion, compositor acceptance, scanout, or visible pixels. A submitted clear-only pass can have no external texture dependencies.
Variants§
Unrecorded
No successful recording was observed.
Recorded
Commands were recorded successfully.
Submitted
The target’s command buffer was passed to Queue::submit.
PresentationRequested
The target’s retained surface frame was passed to the presentation API.
Trait Implementations§
Source§impl Clone for WgpuFrameStage
impl Clone for WgpuFrameStage
impl Copy for WgpuFrameStage
Source§impl Debug for WgpuFrameStage
impl Debug for WgpuFrameStage
impl Eq for WgpuFrameStage
Source§impl Ord for WgpuFrameStage
impl Ord for WgpuFrameStage
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WgpuFrameStage
impl PartialEq for WgpuFrameStage
Source§impl PartialOrd for WgpuFrameStage
impl PartialOrd for WgpuFrameStage
impl StructuralPartialEq for WgpuFrameStage
Auto Trait Implementations§
impl Forget for WgpuFrameStage
impl Freeze for WgpuFrameStage
impl Move for WgpuFrameStage
impl RefUnwindSafe for WgpuFrameStage
impl Send for WgpuFrameStage
impl Sync for WgpuFrameStage
impl Unpin for WgpuFrameStage
impl UnsafeUnpin for WgpuFrameStage
impl UnwindSafe for WgpuFrameStage
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.