HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RE_LightVal Class Reference

#include <RE_LightVal.h>

Public Types

enum  LightType { SPOT_LIGHT, INFINITE_LIGHT, AMBIENT_LIGHT }
 

Public Attributes

float position [4]
 
float ambient [4]
 
float diffuse [4]
 
float specular [4]
 
float spotdirection [3]
 
float spotcutoff
 
float spotexponent
 
float atten [3]
 
LightType light_type
 
int gl_index
 
unsigned is_on:1
 
unsigned is_diffuse:1
 
unsigned is_specular:1
 
unsigned is_ambient_shaded:1
 
RE_LightmyLight
 

Protected Member Functions

int operator== (const RE_LightVal &)
 

Detailed Description

Definition at line 18 of file RE_LightVal.h.

Member Enumeration Documentation

Enumerator
SPOT_LIGHT 
INFINITE_LIGHT 
AMBIENT_LIGHT 

Definition at line 21 of file RE_LightVal.h.

Member Function Documentation

int RE_LightVal::operator== ( const RE_LightVal )
protected

Member Data Documentation

float RE_LightVal::ambient[4]

Definition at line 28 of file RE_LightVal.h.

float RE_LightVal::atten[3]

Definition at line 34 of file RE_LightVal.h.

float RE_LightVal::diffuse[4]

Definition at line 29 of file RE_LightVal.h.

int RE_LightVal::gl_index

Definition at line 36 of file RE_LightVal.h.

unsigned RE_LightVal::is_ambient_shaded

Definition at line 37 of file RE_LightVal.h.

unsigned RE_LightVal::is_diffuse

Definition at line 37 of file RE_LightVal.h.

unsigned RE_LightVal::is_on

Definition at line 37 of file RE_LightVal.h.

unsigned RE_LightVal::is_specular

Definition at line 37 of file RE_LightVal.h.

LightType RE_LightVal::light_type

Definition at line 35 of file RE_LightVal.h.

RE_Light* RE_LightVal::myLight

Definition at line 42 of file RE_LightVal.h.

float RE_LightVal::position[4]

Definition at line 27 of file RE_LightVal.h.

float RE_LightVal::specular[4]

Definition at line 30 of file RE_LightVal.h.

float RE_LightVal::spotcutoff

Definition at line 32 of file RE_LightVal.h.

float RE_LightVal::spotdirection[3]

Definition at line 31 of file RE_LightVal.h.

float RE_LightVal::spotexponent

Definition at line 33 of file RE_LightVal.h.


The documentation for this class was generated from the following file: