Struct opengex::structure::Material [] [src]

pub struct Material {
    pub two_sided: bool,
    pub name: Option<Name>,
    pub color: HashMap<String, Color>,
    pub param: ParamMap,
    pub texture: HashMap<String, Texture>,
}

The Material structure contains information about a material. Material structures are referenced by geometry nodes through Arc<Material> structures belonging to GeometryNode structures.

Fields

Whether the material is two-sided.

An optional name.

Any number of colors.

Any number of parameters.

Any number of textures.