#[non_exhaustive]pub enum SceneBudgetResource {
Commands,
Points,
TessellatedVertices,
RetainedBytes,
AllocationBytes,
UploadBytes,
DrawBatches,
}Expand description
Work category constrained by a SceneBudget.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Commands
Accepted scene commands.
Points
Points retained by polyline commands.
TessellatedVertices
Conservative upper bound for generated triangle-list vertices.
RetainedBytes
Command payload bytes retained by the scene.
AllocationBytes
Committed command-vector and owned polyline allocation bytes.
UploadBytes
Bytes uploaded for generated scene vertices.
DrawBatches
Draw batches caused by ordering and clip changes.
Trait Implementations§
Source§impl Clone for SceneBudgetResource
impl Clone for SceneBudgetResource
impl Copy for SceneBudgetResource
Source§impl Debug for SceneBudgetResource
impl Debug for SceneBudgetResource
impl Eq for SceneBudgetResource
Source§impl PartialEq for SceneBudgetResource
impl PartialEq for SceneBudgetResource
impl StructuralPartialEq for SceneBudgetResource
Auto Trait Implementations§
impl Freeze for SceneBudgetResource
impl RefUnwindSafe for SceneBudgetResource
impl Send for SceneBudgetResource
impl Sync for SceneBudgetResource
impl Unpin for SceneBudgetResource
impl UnsafeUnpin for SceneBudgetResource
impl UnwindSafe for SceneBudgetResource
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.