pub struct Mesh { /* private fields */ }
Expand description
Collection of vertices and indices that define a 3D object.
Implementations§
source§impl Mesh
impl Mesh
sourcepub fn attributes(&self) -> &[VertexAttribute]
pub fn attributes(&self) -> &[VertexAttribute]
Gets the attributes of the mesh.