pub enum Lod {
Near,
Mid,
Far,
}Expand description
Discrete LOD tier per [PORTING-SCENE.md] § S6.
Picker output of select_lod; consumed by
crate::render::render_scene_composed (S6.1+) to choose
between full voxel, low-mip voxel, and billboard impostor.
Variants§
Near
Full voxel raycast through the cross-chunk gline path. Default for every grid pre-S6.1.
Mid
Voxel raycast at the grid’s coarser mip level — reuses the R4.5 multi-mip infrastructure. Wired in S6.1.
Far
Pre-rendered orthographic billboard blit. The voxel rasterizer is bypassed entirely. Wired in S6.3.
Trait Implementations§
impl Copy for Lod
impl Eq for Lod
impl StructuralPartialEq for Lod
Auto Trait Implementations§
impl Freeze for Lod
impl RefUnwindSafe for Lod
impl Send for Lod
impl Sync for Lod
impl Unpin for Lod
impl UnsafeUnpin for Lod
impl UnwindSafe for Lod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more