pub struct UploadTexturePoolStats {
pub created: u64,
pub reused: u64,
pub discarded: u64,
pub active: usize,
pub active_bytes: u64,
pub high_water_bytes: u64,
pub available: usize,
pub available_bytes: u64,
pub budget_bytes: u64,
}Expand description
Allocation and retention counters for source-upload textures.
Fields§
§created: u64Physical textures created since renderer construction.
reused: u64Acquisitions served by an idle texture with the same descriptor.
discarded: u64Textures dropped instead of retained because the pool was full.
active: usizeTextures currently held by upload or source-frame owners.
active_bytes: u64Approximate bytes held by active upload textures.
high_water_bytes: u64Maximum active bytes observed since renderer construction.
available: usizeTextures currently idle and available for reuse.
available_bytes: u64Approximate bytes retained by idle upload textures.
budget_bytes: u64Maximum bytes retained by the idle pool.
Trait Implementations§
Source§impl Clone for UploadTexturePoolStats
impl Clone for UploadTexturePoolStats
impl Copy for UploadTexturePoolStats
Source§impl Debug for UploadTexturePoolStats
impl Debug for UploadTexturePoolStats
Source§impl Default for UploadTexturePoolStats
impl Default for UploadTexturePoolStats
impl Eq for UploadTexturePoolStats
Source§impl PartialEq for UploadTexturePoolStats
impl PartialEq for UploadTexturePoolStats
impl StructuralPartialEq for UploadTexturePoolStats
Auto Trait Implementations§
impl Freeze for UploadTexturePoolStats
impl RefUnwindSafe for UploadTexturePoolStats
impl Send for UploadTexturePoolStats
impl Sync for UploadTexturePoolStats
impl Unpin for UploadTexturePoolStats
impl UnsafeUnpin for UploadTexturePoolStats
impl UnwindSafe for UploadTexturePoolStats
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§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.