Typedefs | Functions
Material Object

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...
 

Detailed Description

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.

Typedef Documentation

Material object handle.

Since
1.10

Function Documentation

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.

See also
evas_3d_material_enable_set()
Parameters
[in]attribMaterial attribute ID.
[in]textureNo description supplied.

Referenced by eo_cxx::evas_3d_material::texture_set(), and evas_3d_material::texture_set().

void evas_3d_material::texture_set ( Evas_3D_Material_Attrib  attrib_,
Evas_3D_Texture texture_ 
) const
inline

Set the texture of the given material.

You have to enable the desired attribute first.

See also
evas_3d_material_enable_set()
Parameters
texture

References evas_3d_material_texture_set().

void evas_3d_material::texture_set ( Evas_3D_Material_Attrib  attrib_,
Evas_3D_Texture texture_ 
) const
inline

Set the texture of the given material.

You have to enable the desired attribute first.

See also
evas_3d_material_enable_set()
Parameters
texture

References evas_3d_material_texture_set().