pub struct FrameReport { /* private fields */ }Expand description
Outcome and diagnostics for one composed frame.
Implementations§
Source§impl FrameReport
impl FrameReport
Sourcepub const fn status(self) -> RenderStatus
pub const fn status(self) -> RenderStatus
Returns whether the frame was drawn or temporarily skipped.
Sourcepub const fn statistics(self) -> FrameStatistics
pub const fn statistics(self) -> FrameStatistics
Returns bounded work referenced by the frame.
Sourcepub const fn metrics(self) -> RendererFrameMetrics
pub const fn metrics(self) -> RendererFrameMetrics
Returns CPU-side timing and tessellation diagnostics.
Sourcepub const fn command_encoder_count(self) -> usize
pub const fn command_encoder_count(self) -> usize
Returns command encoders submitted by this composed frame.
Sourcepub const fn render_pass_count(self) -> usize
pub const fn render_pass_count(self) -> usize
Returns GPU render passes encoded by this composed frame.
Sourcepub const fn queue_submission_count(self) -> usize
pub const fn queue_submission_count(self) -> usize
Returns queue submissions performed by this composed frame.
Sourcepub const fn surface_present_count(self) -> usize
pub const fn surface_present_count(self) -> usize
Returns surface presents performed by this composed frame.
Trait Implementations§
Source§impl Clone for FrameReport
impl Clone for FrameReport
Source§fn clone(&self) -> FrameReport
fn clone(&self) -> FrameReport
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 FrameReport
Source§impl Debug for FrameReport
impl Debug for FrameReport
impl Eq for FrameReport
Source§impl PartialEq for FrameReport
impl PartialEq for FrameReport
impl StructuralPartialEq for FrameReport
Auto Trait Implementations§
impl Freeze for FrameReport
impl RefUnwindSafe for FrameReport
impl Send for FrameReport
impl Sync for FrameReport
impl Unpin for FrameReport
impl UnsafeUnpin for FrameReport
impl UnwindSafe for FrameReport
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> 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.