pub struct LocalMeshlet {
pub vertices: Vec<u32>,
pub triangles: Vec<u8>,
}Expand description
The source-compatible u32 form of LocalMeshletGeneric.
Meshlet-local topology with first-visit vertex references.
Fields§
§vertices: Vec<u32>References to the original vertex buffer.
triangles: Vec<u8>Three local byte indices per triangle.
Trait Implementations§
Source§impl Debug for LocalMeshlet
impl Debug for LocalMeshlet
Source§impl Default for LocalMeshlet
impl Default for LocalMeshlet
impl Eq for LocalMeshlet
Source§impl From<LocalMeshlet> for LocalMeshletGeneric<u32>
impl From<LocalMeshlet> for LocalMeshletGeneric<u32>
Source§fn from(value: LocalMeshlet) -> Self
fn from(value: LocalMeshlet) -> Self
Converts to this type from the input type.
Source§impl From<LocalMeshletGeneric> for LocalMeshlet
impl From<LocalMeshletGeneric> for LocalMeshlet
Source§fn from(value: LocalMeshletGeneric<u32>) -> Self
fn from(value: LocalMeshletGeneric<u32>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LocalMeshlet
impl PartialEq for LocalMeshlet
impl StructuralPartialEq for LocalMeshlet
Auto Trait Implementations§
impl Forget for LocalMeshlet
impl Freeze for LocalMeshlet
impl Move for LocalMeshlet
impl RefUnwindSafe for LocalMeshlet
impl Send for LocalMeshlet
impl Sync for LocalMeshlet
impl Unpin for LocalMeshlet
impl UnsafeUnpin for LocalMeshlet
impl UnwindSafe for LocalMeshlet
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> 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