CG-Project2
|
Component to store the mesh Material data. More...
#include <Component.hpp>
Public Member Functions | |
MaterialComponent (const Material &material=material::defaultMaterials[0]) | |
Instances a Component with the given material. | |
MaterialComponent (const material::MaterialType &type) | |
Instances a Component by using the given material type to retrieve the Material object. |
Public Attributes | |
Material | material |
mesh material |
|
inline |
|
inline |