Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

material.h File Reference

Material properties. More...

#include <lescegra/sg/group.h>

Include dependency graph for material.h:

Include dependency graph

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

LsgMaterialLsgMaterial_create (void)
void LsgMaterial_init (LsgMaterial *self)
void LsgMaterial_display (LsgMaterial *self, LsgFrustum *frustum)


Detailed Description

Material properties.


Function Documentation

LsgMaterial* LsgMaterial_create void   ) 
 

Allocate and initialize a material node.

Returns:
A new material node

void LsgMaterial_init LsgMaterial self  ) 
 

Constructor method for LsgMaterial. Create a new material node with default color values.

Parameters:
self The instance variable

void LsgMaterial_display LsgMaterial self,
LsgFrustum frustum
 

Set material properties and display all children.

Parameters:
self The instance variable
frustum The view frustum


(c) 2003, by Enno Cramer
generated on 9 Jul 2003
lescegra - doxygen