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

#include <RE_LightList.h>

Public Member Functions

 RE_LightList (int max_lights)
 
 ~RE_LightList ()
 
void setMaxLights (int max)
 
void setLights (const UT_Array< RE_Light * > &lights, int light_offset=0, bool include_zeroed_lights=false)
 
void addLight (RE_Light *light)
 
int getNumLights () const
 
RE_LightgetLight (int i) const
 
void setLightMask (int mask)
 
int getLightMask () const
 
void enableLights (const UT_Array< RE_Light * > &lights)
 
void enableLights (const UT_Set< int > &lights, bool use_headlight_if_none=false)
 
void enableHeadlight ()
 
bool isLightEnabled (int index) const
 
void bindForShader (RE_Render *r, RE_Shader *sh) const
 
void bindMaskForShader (RE_Render *r) const
 
void setShadowLight (RE_Light *light)
 
const RE_LightgetShadowLight () const
 

Detailed Description

Definition at line 28 of file RE_LightList.h.

Constructor & Destructor Documentation

RE_LightList::RE_LightList ( int  max_lights)
RE_LightList::~RE_LightList ( )

Member Function Documentation

void RE_LightList::addLight ( RE_Light light)
void RE_LightList::bindForShader ( RE_Render r,
RE_Shader sh 
) const
void RE_LightList::bindMaskForShader ( RE_Render r) const
void RE_LightList::enableHeadlight ( )
void RE_LightList::enableLights ( const UT_Array< RE_Light * > &  lights)
void RE_LightList::enableLights ( const UT_Set< int > &  lights,
bool  use_headlight_if_none = false 
)
RE_Light* RE_LightList::getLight ( int  i) const
inline

Definition at line 44 of file RE_LightList.h.

int RE_LightList::getLightMask ( ) const
inline

Definition at line 47 of file RE_LightList.h.

int RE_LightList::getNumLights ( ) const
inline

Definition at line 43 of file RE_LightList.h.

const RE_Light* RE_LightList::getShadowLight ( ) const
inline

Definition at line 62 of file RE_LightList.h.

bool RE_LightList::isLightEnabled ( int  index) const
inline

Definition at line 79 of file RE_LightList.h.

void RE_LightList::setLightMask ( int  mask)
inline

Definition at line 46 of file RE_LightList.h.

void RE_LightList::setLights ( const UT_Array< RE_Light * > &  lights,
int  light_offset = 0,
bool  include_zeroed_lights = false 
)
void RE_LightList::setMaxLights ( int  max)
void RE_LightList::setShadowLight ( RE_Light light)
inline

Definition at line 61 of file RE_LightList.h.


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