pub struct FrameMetrics {
pub tracked_chunks: usize,
pub upload_in_flight_bytes: u64,
pub derived_cache_gpu_bytes: u64,
pub derived_cache_peak_gpu_bytes: u64,
pub physical_buffer_bytes: u64,
pub physical_texture_bytes: u64,
pub physical_total_bytes: u64,
pub physical_peak_bytes: u64,
}Expand description
Stable, allocation-free counters captured with a frame report.
Fields§
§tracked_chunks: usizeProvider chunks tracked by the GPU residency layer.
upload_in_flight_bytes: u64Upload bytes still protected by GPU fences.
derived_cache_gpu_bytes: u64Retained recomputable device bytes.
derived_cache_peak_gpu_bytes: u64Peak recomputable device bytes since engine construction.
physical_buffer_bytes: u64Live physical GPU buffer bytes owned through the device boundary.
physical_texture_bytes: u64Live physical GPU texture bytes owned through the device boundary.
physical_total_bytes: u64Total live physical GPU bytes owned through the device boundary.
physical_peak_bytes: u64Peak live physical GPU bytes since device construction.
Trait Implementations§
Source§impl Clone for FrameMetrics
impl Clone for FrameMetrics
impl Copy for FrameMetrics
Source§impl Debug for FrameMetrics
impl Debug for FrameMetrics
Source§impl Default for FrameMetrics
impl Default for FrameMetrics
impl Eq for FrameMetrics
Source§impl PartialEq for FrameMetrics
impl PartialEq for FrameMetrics
impl StructuralPartialEq for FrameMetrics
Auto Trait Implementations§
impl Freeze for FrameMetrics
impl RefUnwindSafe for FrameMetrics
impl Send for FrameMetrics
impl Sync for FrameMetrics
impl Unpin for FrameMetrics
impl UnsafeUnpin for FrameMetrics
impl UnwindSafe for FrameMetrics
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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