pub type PolyList = Geom<PolyListGeom>;Expand description
Provides the information needed for a mesh to bind vertex attributes together and then organize those vertices into individual polygons.
Aliased Type§
pub struct PolyList {
pub name: Option<String>,
pub material: Option<String>,
pub count: usize,
pub inputs: InputList,
pub data: PolyListGeom,
pub extra: Vec<Extra>,
}Fields§
§name: Option<String>The text string name of this element.
material: Option<String>Declares a symbol for a material.
This symbol is bound to a material at the time of instantiation;
see Instance<Geometry> and BindMaterial.
If not specified then the lighting and shading results are application defined.
count: usizeThe number of line/triangle/polygon primitives.
inputs: InputListThe vertex attribute access information.
data: PolyListGeomThe specific data for the geometry element.
extra: Vec<Extra>Provides arbitrary additional information about this element.