#[non_exhaustive]pub struct LiveTextureStats {Show 16 fields
pub textures: usize,
pub bytes: u64,
pub textures_parked: usize,
pub bytes_parked: u64,
pub uploads_full: u64,
pub uploads_partial: u64,
pub bytes_uploaded: u64,
pub upload_calls: u64,
pub progressive_bands: u64,
pub sibling_copies: u64,
pub alloc_failures: u64,
pub contended: u64,
pub blocking_waits: u64,
pub stale_deferrals: u64,
pub mip_updates: u64,
pub device_lost: bool,
}Expand description
What one renderer holds and did for live pictures. Monotonic counters, except the four sizes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.textures: usizeTextures held for the sources the last render drew, staged ones included.
bytes: u64Their bytes, every level included.
textures_parked: usizeParked textures: small ones kept for sources the last render did not draw.
bytes_parked: u64§uploads_full: u64§uploads_partial: u64§bytes_uploaded: u64§upload_calls: u64Writes; a banded upload counts one per band.
progressive_bands: u64Bands of whole-frame uploads spread over several frames.
sibling_copies: u64Textures brought up to their source’s latest commit by a copy, on the device, of the texture another window there already holds of it, rather than by an upload from the source.
alloc_failures: u64Texture creations the device refused for want of memory.
contended: u64Frames that found a producer holding a source’s lock.
blocking_waits: u64Locks taken with a bounded wait.
stale_deferrals: u64Frames whose locked buffer had another size than the one laid out.
mip_updates: u64Mip chains rebuilt, wholly or in part: at most one per source and render, however many commits the upload folded in.
device_lost: boolTrait Implementations§
Source§impl Clone for LiveTextureStats
impl Clone for LiveTextureStats
Source§fn clone(&self) -> LiveTextureStats
fn clone(&self) -> LiveTextureStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for LiveTextureStats
Source§impl Debug for LiveTextureStats
impl Debug for LiveTextureStats
Source§impl Default for LiveTextureStats
impl Default for LiveTextureStats
Source§fn default() -> LiveTextureStats
fn default() -> LiveTextureStats
impl Eq for LiveTextureStats
Source§impl PartialEq for LiveTextureStats
impl PartialEq for LiveTextureStats
impl StructuralPartialEq for LiveTextureStats
Auto Trait Implementations§
impl Freeze for LiveTextureStats
impl RefUnwindSafe for LiveTextureStats
impl Send for LiveTextureStats
impl Sync for LiveTextureStats
impl Unpin for LiveTextureStats
impl UnsafeUnpin for LiveTextureStats
impl UnwindSafe for LiveTextureStats
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.