material

material — Material generation and manipulation

Synopsis




G3DMaterial* g3d_material_new               (void);
void        g3d_material_free               (G3DMaterial *material);

Description

Details

g3d_material_new ()

G3DMaterial* g3d_material_new               (void);

Generates a new material with a default color.

Returns : the new material or NULL on error

g3d_material_free ()

void        g3d_material_free               (G3DMaterial *material);

Frees all memory allocated for that material.

material : the material to free