pub struct LodLevel {
pub index_count: u32,
pub first_index: u32,
pub base_vertex: u32,
pub geometric_error: f32,
pub resident: bool,
}Expand description
Packed triangle range and conservative model-space geometric error, finest first.
Fields§
§index_count: u32Triangle indices, in 3..=196608 and divisible by three.
first_index: u32Offset in the caller-owned packed index buffer.
base_vertex: u32Nonnegative base vertex in the caller-owned packed vertex buffer.
geometric_error: f32Conservative deviation from finest geometry; finest must be zero. The asset producer owns this bound; the selector cannot infer it from metadata.
resident: boolWhether the corresponding packed geometry is currently available. Coarsest stays resident.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LodLevel
impl RefUnwindSafe for LodLevel
impl Send for LodLevel
impl Sync for LodLevel
impl Unpin for LodLevel
impl UnsafeUnpin for LodLevel
impl UnwindSafe for LodLevel
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