pub struct Mesh { /* private fields */ }
Available on crate feature mdl only.
Expand description

A single mesh within a model.

Implementations

Path to the material associated with this mesh.

Indices of vertices within the mesh. Vertices are laid out in a triangle list topology.

Get the vertex attributes for all vertices in the mesh.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.