#[repr(u8)]pub enum StreamPriority {
Critical = 0,
VisibleHigh = 1,
PrefetchMedium = 2,
BackgroundLow = 3,
}Expand description
Four-lane priority tier scheduling asynchronous asset I/O, decode, and GPU upload work.
Variants§
Critical = 0
Frame-critical visible geometry, mip-tails, and active camera assets.
VisibleHigh = 1
Visible in-frustum high-resolution textures and hero meshes.
PrefetchMedium = 2
Velocity-predicted lookahead prefetch assets.
BackgroundLow = 3
Low-priority background warmup and speculative preload assets.
Trait Implementations§
Source§impl Clone for StreamPriority
impl Clone for StreamPriority
impl Copy for StreamPriority
Source§impl Debug for StreamPriority
impl Debug for StreamPriority
Source§impl Default for StreamPriority
impl Default for StreamPriority
impl Eq for StreamPriority
Source§impl Hash for StreamPriority
impl Hash for StreamPriority
Source§impl Ord for StreamPriority
impl Ord for StreamPriority
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 StreamPriority
impl PartialEq for StreamPriority
Source§impl PartialOrd for StreamPriority
impl PartialOrd for StreamPriority
impl StructuralPartialEq for StreamPriority
Auto Trait Implementations§
impl Forget for StreamPriority
impl Freeze for StreamPriority
impl Move for StreamPriority
impl RefUnwindSafe for StreamPriority
impl Send for StreamPriority
impl Sync for StreamPriority
impl Unpin for StreamPriority
impl UnsafeUnpin for StreamPriority
impl UnwindSafe for StreamPriority
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