HDK
|
#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_Light * | getLight (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_Light * | getShadowLight () const |
Definition at line 28 of file RE_LightList.h.
RE_LightList::RE_LightList | ( | int | max_lights | ) |
RE_LightList::~RE_LightList | ( | ) |
void RE_LightList::enableHeadlight | ( | ) |
void RE_LightList::enableLights | ( | const UT_Set< int > & | lights, |
bool | use_headlight_if_none = false |
||
) |
Definition at line 44 of file RE_LightList.h.
|
inline |
Definition at line 47 of file RE_LightList.h.
|
inline |
Definition at line 43 of file RE_LightList.h.
|
inline |
Definition at line 62 of file RE_LightList.h.
|
inline |
Definition at line 79 of file RE_LightList.h.
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 |
||
) |
Definition at line 61 of file RE_LightList.h.