Ninja Library - Light Structure

NJS_LIGHT_MATERIAL

Light material data structure

DEFINITION

typedef  struct { 
 NJS_ARGB ambient; 
 NJS_ARGB diffuse; 
 NJS_ARGB specular; 
 Float  exponent; 
} NJS_LIGHT_MATERIAL; 

MEMBER

 ambient  Ambient color for material 
 diffuse  Material color for material 
 specular  Specular color for material 
 exponent  Exponent value 

DESCRIPTION

Intermediate vertex buffer storage structure for material data model calculations that are exchanged with the light source system within the model routine.

NJS_LIGHT_MATERIAL
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999