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_ValArray< 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_ValArray< RE_Light * > &lights)
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 27 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_ValArray< RE_Light * > &  lights)
RE_Light* RE_LightList::getLight ( int  i) const

Definition at line 43 of file RE_LightList.h.

int RE_LightList::getLightMask ( ) const

Definition at line 46 of file RE_LightList.h.

int RE_LightList::getNumLights ( ) const

Definition at line 42 of file RE_LightList.h.

const RE_Light* RE_LightList::getShadowLight ( ) const

Definition at line 59 of file RE_LightList.h.

bool RE_LightList::isLightEnabled ( int  index) const

Definition at line 76 of file RE_LightList.h.

void RE_LightList::setLightMask ( int  mask)

Definition at line 45 of file RE_LightList.h.

void RE_LightList::setLights ( const UT_ValArray< 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)

Definition at line 58 of file RE_LightList.h.

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