pub struct MeshletSettings {
pub max_vertices: usize,
pub max_triangles: usize,
}Expand description
Limits used by all meshlet builders.
Fields§
§max_vertices: usizeMaximum vertices, 3 through 256.
max_triangles: usizeMaximum triangles, 1 through 512.
Trait Implementations§
Source§impl Clone for MeshletSettings
impl Clone for MeshletSettings
impl Copy for MeshletSettings
Source§impl Debug for MeshletSettings
impl Debug for MeshletSettings
Source§impl Default for MeshletSettings
impl Default for MeshletSettings
impl Eq for MeshletSettings
Source§impl PartialEq for MeshletSettings
impl PartialEq for MeshletSettings
impl StructuralPartialEq for MeshletSettings
Auto Trait Implementations§
impl Freeze for MeshletSettings
impl RefUnwindSafe for MeshletSettings
impl Send for MeshletSettings
impl Sync for MeshletSettings
impl Unpin for MeshletSettings
impl UnsafeUnpin for MeshletSettings
impl UnwindSafe for MeshletSettings
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