#[non_exhaustive]pub struct OdolLod {
pub resolution: f32,
pub vertex_count: u32,
pub face_count: u32,
pub textures: Vec<String>,
pub materials: Vec<OdolMaterial>,
pub proxies: Vec<String>,
pub selections: Vec<String>,
pub properties: Vec<(String, String)>,
}Expand description
A LOD of a binarized model.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resolution: f32LOD resolution; special LODs (geometry, memory, …) have large well known values.
vertex_count: u32Number of vertices.
face_count: u32Number of faces.
textures: Vec<String>Texture paths used by faces.
materials: Vec<OdolMaterial>Materials with the texture paths of their stages.
proxies: Vec<String>Proxy model paths.
selections: Vec<String>Named selection names.
properties: Vec<(String, String)>LOD properties as (name, value) pairs.
Implementations§
Trait Implementations§
impl StructuralPartialEq for OdolLod
Auto Trait Implementations§
impl Freeze for OdolLod
impl RefUnwindSafe for OdolLod
impl Send for OdolLod
impl Sync for OdolLod
impl Unpin for OdolLod
impl UnsafeUnpin for OdolLod
impl UnwindSafe for OdolLod
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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