pub struct LodBudgets {
pub max_points: u64,
pub max_host_bytes: u64,
pub max_gpu_bytes: u64,
pub max_upload_bytes_per_frame: u64,
pub max_in_flight: usize,
}Expand description
Hard limits shared by selection, decode/upload admission, and GPU residency.
Fields§
§max_points: u64Maximum selected/resident points.
max_host_bytes: u64Maximum simultaneously leased decoded host bytes.
max_gpu_bytes: u64Maximum resident GPU bytes.
max_upload_bytes_per_frame: u64Maximum upload bytes admitted in one frame generation.
max_in_flight: usizeMaximum concurrently leased/in-flight chunks.
Implementations§
Trait Implementations§
Source§impl Clone for LodBudgets
impl Clone for LodBudgets
Source§fn clone(&self) -> LodBudgets
fn clone(&self) -> LodBudgets
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 moreSource§impl Debug for LodBudgets
impl Debug for LodBudgets
Source§impl PartialEq for LodBudgets
impl PartialEq for LodBudgets
Source§fn eq(&self, other: &LodBudgets) -> bool
fn eq(&self, other: &LodBudgets) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LodBudgets
impl Eq for LodBudgets
impl StructuralPartialEq for LodBudgets
Auto Trait Implementations§
impl Freeze for LodBudgets
impl RefUnwindSafe for LodBudgets
impl Send for LodBudgets
impl Sync for LodBudgets
impl Unpin for LodBudgets
impl UnsafeUnpin for LodBudgets
impl UnwindSafe for LodBudgets
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