pub struct RendererPreparationMetrics { /* private fields */ }Expand description
Non-overlapping CPU preparation stages for a heterogeneous composed frame.
All intervals are on the calling thread before uploads. They do not measure
GPU work or presentation. None from RendererFrameMetrics::preparation
identifies a rendering path which does not expose this detailed breakdown;
it must not be interpreted as zero preparation cost.
Implementations§
Source§impl RendererPreparationMetrics
impl RendererPreparationMetrics
Sourcepub const fn tessellation(self) -> Duration
pub const fn tessellation(self) -> Duration
CPU generation of streaming ordinary-scene vertices and clip batches.
Sourcepub const fn geometry_validation(self) -> Duration
pub const fn geometry_validation(self) -> Duration
CPU numeric/topology validation of streaming and retained 2D geometry.
Includes bounded exact-proof cache lookups when they replace validation.
Image/glyph placement validation is included in Self::retained_draws.
Sourcepub const fn retained_draws(self) -> Duration
pub const fn retained_draws(self) -> Duration
Retained scene/image/glyph draw preparation excluding ordinary-scene numeric validation. Includes placement validation and batch assembly.
Trait Implementations§
Source§impl Clone for RendererPreparationMetrics
impl Clone for RendererPreparationMetrics
impl Copy for RendererPreparationMetrics
Source§impl Debug for RendererPreparationMetrics
impl Debug for RendererPreparationMetrics
Source§impl Default for RendererPreparationMetrics
impl Default for RendererPreparationMetrics
impl Eq for RendererPreparationMetrics
impl StructuralPartialEq for RendererPreparationMetrics
Auto Trait Implementations§
impl Freeze for RendererPreparationMetrics
impl RefUnwindSafe for RendererPreparationMetrics
impl Send for RendererPreparationMetrics
impl Sync for RendererPreparationMetrics
impl Unpin for RendererPreparationMetrics
impl UnsafeUnpin for RendererPreparationMetrics
impl UnwindSafe for RendererPreparationMetrics
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
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
key and return true if they are equal.