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

LsgMaterial Struct Reference
[Scene Representation]

Material properties. More...

#include <material.h>

Collaboration diagram for LsgMaterial:

Collaboration graph
[legend]

Data Fields

LsgGroup super
float ambient [4]
float diffuse [4]
float specular [4]
float shininess

Related Functions

(Note that these are not member functions.)

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

Detailed Description

Material properties.

Apply material properties to all children.


Friends And Related Function Documentation

LsgMaterial * LsgMaterial_create void   )  [related]
 

Allocate and initialize a material node.

Returns:
A new material node

void LsgMaterial_init LsgMaterial self  )  [related]
 

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
[related]
 

Set material properties and display all children.

Parameters:
self The instance variable
frustum The view frustum


The documentation for this struct was generated from the following file:
(c) 2003, by Enno Cramer
generated on 13 Jul 2003
lescegra - doxygen