A material object represents properties of surfaces. More...
Typedefs | |
| typedef Eo | Evas_3D_Material |
| Material object handle. More... | |
Functions | |
| EOAPI void | evas_3d_material_texture_set (Evas_3D_Material_Attrib attrib, Evas_3D_Texture *texture) |
| Set the texture of the given material. More... | |
| void | eo_cxx::evas_3d_material::texture_set (Evas_3D_Material_Attrib attrib_, Evas_3D_Texture *texture_) const |
| Set the texture of the given material. More... | |
| void | evas_3d_material::texture_set (Evas_3D_Material_Attrib attrib_, Evas_3D_Texture *texture_) const |
| Set the texture of the given material. More... | |
A material object represents properties of surfaces.
Evas 3D defines the properties with 5 material attributes, ambient, diffuse, specular emission and normal. Each attribute have its color value and texture map. Materials are used to determine the color of mesh surfaces.
Material object handle.
| EOAPI void evas_3d_material_texture_set | ( | Evas_3D_Material_Attrib | attrib, |
| Evas_3D_Texture * | texture | ||
| ) |
Set the texture of the given material.
You have to enable the desired attribute first.
| [in] | attrib | Material attribute ID. |
| [in] | texture | No description supplied. |
Referenced by eo_cxx::evas_3d_material::texture_set(), and evas_3d_material::texture_set().
|
inline |
Set the texture of the given material.
You have to enable the desired attribute first.
| texture |
References evas_3d_material_texture_set().
|
inline |
Set the texture of the given material.
You have to enable the desired attribute first.
| texture |
References evas_3d_material_texture_set().