Struct TextureStreamPartialPlan
pub struct TextureStreamPartialPlan {
pub action_count: usize,
pub admitted_mip_count: usize,
pub deferred_mip_count: usize,
pub admitted_upload_bytes: u64,
pub deferred_upload_bytes: u64,
pub projected_resident_bytes: u64,
}Expand description
Accounting for an additive, best-effort residency plan.
The admitted requests are a single global priority prefix. Deferred requests retain their place in that order and can be retried with the next frame’s budget. Evictions are reported first in least-protected-first order, followed by the admitted mip uploads in request order.
Fields§
§action_count: usize§admitted_mip_count: usize§deferred_mip_count: usize§admitted_upload_bytes: u64§deferred_upload_bytes: u64§projected_resident_bytes: u64Resident bytes after the listed evictions and admitted uploads.
Trait Implementations§
§impl Clone for TextureStreamPartialPlan
impl Clone for TextureStreamPartialPlan
§fn clone(&self) -> TextureStreamPartialPlan
fn clone(&self) -> TextureStreamPartialPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextureStreamPartialPlan
§impl Debug for TextureStreamPartialPlan
impl Debug for TextureStreamPartialPlan
impl Eq for TextureStreamPartialPlan
§impl PartialEq for TextureStreamPartialPlan
impl PartialEq for TextureStreamPartialPlan
impl StructuralPartialEq for TextureStreamPartialPlan
Auto Trait Implementations§
impl Freeze for TextureStreamPartialPlan
impl RefUnwindSafe for TextureStreamPartialPlan
impl Send for TextureStreamPartialPlan
impl Sync for TextureStreamPartialPlan
impl Unpin for TextureStreamPartialPlan
impl UnsafeUnpin for TextureStreamPartialPlan
impl UnwindSafe for TextureStreamPartialPlan
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more