pub struct Mesh {
pub primitive: GeometricPrimitive,
}Expand description
A Mesh structure cotains data for a single geometric mesh. Each mesh typically contains
several arrays of per-vertex data, and one or more index arrays.
A mesh may contain vertex data for multiple morph targets. The morph target to which the vertex
array belongs is determined by the value op its morph property.
Fields§
§primitive: GeometricPrimitiveSpecifies the type of geometric primitive used by the mesh. This must be the same for each
level of detail. See the helper-enum GeometricPrimitive for more details about the
different kinds of primitives.
Auto Trait Implementations§
impl Freeze for Mesh
impl RefUnwindSafe for Mesh
impl Send for Mesh
impl Sync for Mesh
impl Unpin for Mesh
impl UnwindSafe for Mesh
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