Module material

Module material 

Source
Expand description

The material object

Structs§

MaterialLegacy
The legacy illumination model material
MaterialPbr
The physically based rendering illumination model material

Enums§

MaterialComponent
The material component

Traits§

Material
The Material trait helps the MaterialLegacy struct or the MaterialPbr struct to be able to turn into an object

Functions§

create_material_from_obj_material
Convert &dyn ObjMaterial into the Arc<dyn Material>, all textures were loaded and constants were also converted