pub struct LocalMeshlet {
pub vertices: Vec<u32>,
pub triangles: Vec<u8>,
}Expand description
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 PartialEq for LocalMeshlet
impl PartialEq for LocalMeshlet
impl StructuralPartialEq for LocalMeshlet
Auto Trait Implementations§
impl Freeze 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