sio2_lamp.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SIO2lamp

Enumerations

enum  SIO2_LAMP_FLAGS { SIO2_LAMP_NO_DIFFUSE = ( 1 << 0 ), SIO2_LAMP_NO_SPECULAR = ( 1 << 1 ) }
enum  SIO2_LAMP_TYPE {
  SIO2_LAMP_LAMP = 0, SIO2_LAMP_SUN, SIO2_LAMP_SPOT, SIO2_LAMP_HEMI,
  SIO2_LAMP_AREA
}

Functions

SIO2lampsio2LampInit (char *)
SIO2lampsio2LampFree (SIO2lamp *)
unsigned char sio2LampLoad (char *, char *, char *)
unsigned char sio2LampRender (SIO2lamp *, unsigned char)
void sio2LampReset (void)
void sio2LampSetAmbient (vec4 *, float)
void sio2LampEnableLighting (void)
void sio2LampDisableLighting (void)


Enumeration Type Documentation

Enumerator:
SIO2_LAMP_NO_DIFFUSE 
SIO2_LAMP_NO_SPECULAR 

Enumerator:
SIO2_LAMP_LAMP 
SIO2_LAMP_SUN 
SIO2_LAMP_SPOT 
SIO2_LAMP_HEMI 
SIO2_LAMP_AREA 


Function Documentation

void sio2LampDisableLighting ( void   ) 

References SIO2::_SIO2state, sio2, SIO2_COLOR_MATERIAL, SIO2_LIGHTING, SIO2_NORMALIZE, and sio2StateDisable().

Here is the call graph for this function:

void sio2LampEnableLighting ( void   ) 

References SIO2::_SIO2state, sio2, SIO2_COLOR_MATERIAL, SIO2_LIGHTING, SIO2_NORMALIZE, and sio2StateEnable().

Here is the call graph for this function:

SIO2lamp* sio2LampFree ( SIO2lamp  ) 

References SIO2::_SIO2resource, sio2, SIO2_LAMP, and sio2ResourceDel().

Referenced by sio2ResourceUnload().

Here is the call graph for this function:

SIO2lamp* sio2LampInit ( char  ) 

unsigned char sio2LampLoad ( char ,
char ,
char  
)

unsigned char sio2LampRender ( SIO2lamp ,
unsigned  char 
)

void sio2LampReset ( void   ) 

References SIO2::_SIO2lamp, sio2, and SIO2_LAMP_MAX.

void sio2LampSetAmbient ( vec4 ,
float   
)


Generated on Thu Mar 4 15:41:44 2010 for SIO2 Engine by  doxygen 1.5.6