#include <lescegra/sg/group.h>
Include dependency graph for material.h:

Go to the source code of this file.
Data Structures | |
| struct | LsgMaterial |
| Material properties. More... | |
Defines | |
| #define | LSG_MATERIAL_H 1 |
| #define | LsgMaterial_clean(self) LsgGroup_clean(&(self)->super) |
| #define | LsgMaterial_update(self, now) LsgGroup_update(&(self)->super, now) |
| #define | LsgMaterial_collide(self, v, n) LsgGroup_collide(&(self)->super, v, n) |
Functions | |
| LsgMaterial * | LsgMaterial_create (void) |
| void | LsgMaterial_init (LsgMaterial *self) |
| void | LsgMaterial_display (LsgMaterial *self, LsgFrustum *frustum) |
|
|
Allocate and initialize a material node.
|
|
|
Constructor method for LsgMaterial. Create a new material node with default color values.
|
|
||||||||||||
|
Set material properties and display all children.
|