Expand description
A version of Mesh
that uses 16-bit indices.
This is produced by Mesh::split_to_u16
and is meant to be used for legacy render backends.
Fields
indices: Vec<u16>
Draw as triangles (i.e. the length is always multiple of three).
egui is NOT consistent with what winding order it uses, so turn off backface culling.
vertices: Vec<Vertex>
The vertex data indexed by indices
.
texture_id: TextureId
The texture to use when drawing these triangles.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mesh16
impl Send for Mesh16
impl Sync for Mesh16
impl Unpin for Mesh16
impl UnwindSafe for Mesh16
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more