pub enum FrameBudgetResource {
Passes,
Commands,
Vertices,
UploadBytes,
TextureBytes,
DrawCalls,
}Expand description
Work category constrained by a FrameBudget.
Variants§
Passes
Number of ordered sources in one frame.
Commands
Scene commands referenced by the frame.
Vertices
Generated or retained vertices referenced by the frame.
UploadBytes
Bytes uploaded while preparing the frame.
TextureBytes
Nominal retained texel-storage bytes referenced by images, fields, or targets.
DrawCalls
Conservative number of GPU draw calls encoded by the frame.
Trait Implementations§
Source§impl Clone for FrameBudgetResource
impl Clone for FrameBudgetResource
Source§fn clone(&self) -> FrameBudgetResource
fn clone(&self) -> FrameBudgetResource
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 FrameBudgetResource
Source§impl Debug for FrameBudgetResource
impl Debug for FrameBudgetResource
impl Eq for FrameBudgetResource
Source§impl PartialEq for FrameBudgetResource
impl PartialEq for FrameBudgetResource
impl StructuralPartialEq for FrameBudgetResource
Auto Trait Implementations§
impl Freeze for FrameBudgetResource
impl RefUnwindSafe for FrameBudgetResource
impl Send for FrameBudgetResource
impl Sync for FrameBudgetResource
impl Unpin for FrameBudgetResource
impl UnsafeUnpin for FrameBudgetResource
impl UnwindSafe for FrameBudgetResource
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.