pub struct CpuModel {
pub geometries: Vec<TriMesh, Global>,
pub materials: Vec<PbrMaterial, Global>,
}Expand description
Model consisting of a set of geometries and materials. The geometries might have a material name that matches a name of a material in the list of materials. Also, the same material can be applied to several geometries.
Fields§
§geometries: Vec<TriMesh, Global>A list of TriMeshes.
materials: Vec<PbrMaterial, Global>A list of PbrMaterials applied to the geometries.