pub struct TexturePoolStats {
pub created: u64,
pub reused: u64,
pub active: usize,
pub active_bytes: u64,
pub high_water_bytes: u64,
pub available: usize,
pub available_bytes: u64,
pub budget_bytes: u64,
pub evicted: u64,
}Expand description
Observable allocation counters for the intermediate texture pool.
Fields§
§created: u64Number of physical textures created since renderer construction.
reused: u64Number of acquisitions served by an existing texture.
active: usizeTextures currently owned by render results or in-flight work.
active_bytes: u64Approximate bytes held by active intermediate textures.
high_water_bytes: u64Maximum active intermediate-texture bytes observed.
available: usizeTextures currently idle and available for reuse.
available_bytes: u64Approximate bytes retained by idle textures.
budget_bytes: u64Current soft limit for idle texture retention.
evicted: u64Textures discarded because retaining them would exceed the budget.
Trait Implementations§
Source§impl Clone for TexturePoolStats
impl Clone for TexturePoolStats
impl Copy for TexturePoolStats
Source§impl Debug for TexturePoolStats
impl Debug for TexturePoolStats
Source§impl Default for TexturePoolStats
impl Default for TexturePoolStats
impl Eq for TexturePoolStats
Source§impl PartialEq for TexturePoolStats
impl PartialEq for TexturePoolStats
impl StructuralPartialEq for TexturePoolStats
Auto Trait Implementations§
impl Freeze for TexturePoolStats
impl RefUnwindSafe for TexturePoolStats
impl Send for TexturePoolStats
impl Sync for TexturePoolStats
impl Unpin for TexturePoolStats
impl UnsafeUnpin for TexturePoolStats
impl UnwindSafe for TexturePoolStats
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.