pub enum GpuUploadPriority {
RequiredFrame,
OptionalPrefetch,
}Expand description
Priority class governing bounded GPU staging ring backpressure when all slots are in flight.
Variants§
RequiredFrame
Upload required to present the active frame’s visible content.
OptionalPrefetch
Speculative route prefetch or offscreen warm-up upload droppable under ring pressure.
Trait Implementations§
Source§impl Clone for GpuUploadPriority
impl Clone for GpuUploadPriority
impl Copy for GpuUploadPriority
Source§impl Debug for GpuUploadPriority
impl Debug for GpuUploadPriority
Source§impl Default for GpuUploadPriority
impl Default for GpuUploadPriority
impl Eq for GpuUploadPriority
Source§impl Hash for GpuUploadPriority
impl Hash for GpuUploadPriority
Source§impl Ord for GpuUploadPriority
impl Ord for GpuUploadPriority
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for GpuUploadPriority
impl PartialEq for GpuUploadPriority
Source§impl PartialOrd for GpuUploadPriority
impl PartialOrd for GpuUploadPriority
impl StructuralPartialEq for GpuUploadPriority
Auto Trait Implementations§
impl Forget for GpuUploadPriority
impl Freeze for GpuUploadPriority
impl Move for GpuUploadPriority
impl RefUnwindSafe for GpuUploadPriority
impl Send for GpuUploadPriority
impl Sync for GpuUploadPriority
impl Unpin for GpuUploadPriority
impl UnsafeUnpin for GpuUploadPriority
impl UnwindSafe for GpuUploadPriority
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