Struct opengex::structure::Mesh [] [src]

pub struct Mesh {
    pub primitive: GeometricPrimitive,
}

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

Specifies 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.