All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 (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 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

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::getNumLights ( ) const

Definition at line 42 of file RE_LightList.h.

bool RE_LightList::isLightEnabled ( int  index) const

Definition at line 68 of file RE_LightList.h.

void RE_LightList::setLights ( UT_ValArray< RE_Light * > &  lights,
int  light_offset = 0,
bool  include_zeroed_lights = false 
void RE_LightList::setMaxLights ( int  max)

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