pub struct ResourceChurnStats {Show 42 fields
pub mesh_texture_allocations: u64,
pub mesh_texture_bytes: u64,
pub mesh_coefficient_upload_bytes: u64,
pub mesh_raster_passes: u64,
pub mesh_cache_hits: u64,
pub mesh_topology_allocations: u64,
pub flushes: u64,
pub opacity_group_renders: u64,
pub opacity_group_cache_hits: u64,
pub alpha_source_renders: u64,
pub alpha_source_cache_hits: 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 image_draw_creates: u64,
pub texture_upload_bytes: u64,
pub texture_cache_hits: 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.
Effect counters are available with the opt-in shaders Cargo feature.
Fields§
§mesh_texture_allocations: u64§mesh_texture_bytes: u64Bytes allocated for mesh textures during this sample (not current residency).
mesh_coefficient_upload_bytes: u64§mesh_raster_passes: u64§mesh_cache_hits: u64§mesh_topology_allocations: u64§flushes: u64§opacity_group_renders: u64§opacity_group_cache_hits: u64§alpha_source_renders: u64§alpha_source_cache_hits: 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§image_draw_creates: u64§texture_upload_bytes: u64§texture_cache_hits: u64Tile-local bindings created using an already resident sibling image texture.
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.