pub struct StreamConfig {
pub radius: u32,
pub vertical_radius: u32,
pub max_resident: usize,
pub workers: usize,
pub max_jobs: usize,
pub max_meshes: usize,
pub mesh_bytes: usize,
pub meshing: MeshingOptions,
}Expand description
Bounds for a cubic X/Z focus region with independent vertical extent.
Fields§
§radius: u32Horizontal radius in chunks; (2*r+1)^2 * (2*y+1) must fit max_resident.
vertical_radius: u32Vertical radius in chunks.
max_resident: usizeUpper bound on the supplied world’s capacity, including dirty pinned chunks.
workers: usizeFixed worker count; generation must cooperate with cancellation.
max_jobs: usizeQueued, running and unconsumed CPU jobs combined.
max_meshes: usizeMesh jobs, ready results and externally held results combined.
mesh_bytes: usizeRetained vertex/index byte allowance per mesh; meshing limits must fit it. Metadata and temporary quad/snapshot buffers are bounded separately by job count.
meshing: MeshingOptionsImmutable geometry policy, including missing-neighbor behavior.
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
impl Copy for StreamConfig
Source§impl Debug for StreamConfig
impl Debug for StreamConfig
Auto Trait Implementations§
impl Freeze for StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnsafeUnpin for StreamConfig
impl UnwindSafe for StreamConfig
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