pub struct HandoffConfig {
pub slots: usize,
pub upload_limit_bytes: u64,
pub retire_frames: u64,
}Expand description
Parameter der Pipeline.
Fields§
§slots: usizePuffer in der Leitung (klassisches Triple-Buffering: 3). Einer füllt sich, einer wird übergeben, einer fliegt.
upload_limit_bytes: u64Höchste Byte-Menge, die ein Frame die Leitung hinunterdarf. Deckelt die Upload-Zeit pro Frame und hält die Framerate glatt.
retire_frames: u64Frames, die ein übergebenes Batch in der Leitung gilt, bevor die Zelle als resident zählt (GPU-Kopie + laufende Draw-Calls).
Trait Implementations§
Source§impl Clone for HandoffConfig
impl Clone for HandoffConfig
Source§fn clone(&self) -> HandoffConfig
fn clone(&self) -> HandoffConfig
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 HandoffConfig
Source§impl Debug for HandoffConfig
impl Debug for HandoffConfig
Auto Trait Implementations§
impl Freeze for HandoffConfig
impl RefUnwindSafe for HandoffConfig
impl Send for HandoffConfig
impl Sync for HandoffConfig
impl Unpin for HandoffConfig
impl UnsafeUnpin for HandoffConfig
impl UnwindSafe for HandoffConfig
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