pub struct ResourceChurnStats {Show 30 fields
pub flushes: u64,
pub retained_scene_resets: u64,
pub vector_batch_flushes: u64,
pub vector_buffer_rebuilds: u64,
pub vector_geometry_rebuilds: u64,
pub vector_geometry_cache_hits: u64,
pub vector_geometry_cache_misses: u64,
pub vector_geometry_cache_evictions: u64,
pub vector_geometry_cache_bytes: u64,
pub tessellated_vertices: u64,
pub tessellated_indices: u64,
pub cached_vertices_reused: u64,
pub cached_indices_reused: u64,
pub vector_resource_creates: u64,
pub vector_resource_updates: u64,
pub vector_resource_recreates: u64,
pub vector_resource_create_bytes: u64,
pub vector_resource_update_bytes: u64,
pub vector_resource_cache_hits: u64,
pub vector_resource_cache_misses: u64,
pub vector_resource_cache_evictions: u64,
pub vector_resource_cache_bytes: u64,
pub texture_creates: u64,
pub texture_upload_bytes: u64,
pub retained_nodes_considered: u64,
pub retained_nodes_visible: u64,
pub retained_draw_batches: u64,
pub retained_draws: u64,
pub retained_vector_draws: u64,
pub retained_image_draws: u64,
}Expand description
Resource churn counters for renderer profiling.
Fields§
§flushes: u64§retained_scene_resets: u64§vector_batch_flushes: u64§vector_buffer_rebuilds: u64§vector_geometry_rebuilds: u64§vector_geometry_cache_hits: u64§vector_geometry_cache_misses: u64§vector_geometry_cache_evictions: u64§vector_geometry_cache_bytes: u64§tessellated_vertices: u64§tessellated_indices: u64§cached_vertices_reused: u64§cached_indices_reused: u64§vector_resource_creates: u64§vector_resource_updates: u64§vector_resource_recreates: u64§vector_resource_create_bytes: u64§vector_resource_update_bytes: u64§vector_resource_cache_hits: u64§vector_resource_cache_misses: u64§vector_resource_cache_evictions: u64§vector_resource_cache_bytes: u64§texture_creates: u64§texture_upload_bytes: u64§retained_nodes_considered: u64§retained_nodes_visible: u64§retained_draw_batches: u64§retained_draws: u64§retained_vector_draws: u64§retained_image_draws: u64Implementations§
Source§impl ResourceChurnStats
impl ResourceChurnStats
pub fn merge(&mut self, other: Self)
pub fn has_resource_churn(&self) -> bool
Trait Implementations§
Source§impl Clone for ResourceChurnStats
impl Clone for ResourceChurnStats
impl Copy for ResourceChurnStats
Source§impl Debug for ResourceChurnStats
impl Debug for ResourceChurnStats
Source§impl Default for ResourceChurnStats
impl Default for ResourceChurnStats
impl Eq for ResourceChurnStats
Source§impl PartialEq for ResourceChurnStats
impl PartialEq for ResourceChurnStats
impl StructuralPartialEq for ResourceChurnStats
Auto Trait Implementations§
impl Freeze for ResourceChurnStats
impl RefUnwindSafe for ResourceChurnStats
impl Send for ResourceChurnStats
impl Sync for ResourceChurnStats
impl Unpin for ResourceChurnStats
impl UnsafeUnpin for ResourceChurnStats
impl UnwindSafe for ResourceChurnStats
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§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<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
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.