HDK
|
#include <RE_LightBatch.h>
Public Member Functions | |
RE_LightBatch (int max_lights, RE_Light::RE_HQLightType type, bool use_ssbo=false) | |
~RE_LightBatch () | |
RE_Light::RE_HQLightType | batchType () const |
int | getID () const |
int | batchSize () const |
bool | addLight (RE_Light *light) |
void | removeLight (RE_Light *light) |
void | prepareBatch (RE_Render *r, int area_samples=1) |
void | prepShadowMap (RE_Render *r, int res) |
void | bindToShader (RE_Render *r, RE_Shader *sh) |
void | unbindFromShader (RE_Render *r, RE_Shader *sh) |
const UT_Array< RE_Light * > & | lights () |
void | dump () |
Static Public Member Functions | |
static RE_LightBatch * | findBatch (int id) |
Definition at line 23 of file RE_LightBatch.h.
RE_LightBatch::RE_LightBatch | ( | int | max_lights, |
RE_Light::RE_HQLightType | type, | ||
bool | use_ssbo = false |
||
) |
RE_LightBatch::~RE_LightBatch | ( | ) |
bool RE_LightBatch::addLight | ( | RE_Light * | light | ) |
|
inline |
Definition at line 36 of file RE_LightBatch.h.
|
inline |
Definition at line 31 of file RE_LightBatch.h.
void RE_LightBatch::dump | ( | ) |
|
static |
|
inline |
Definition at line 35 of file RE_LightBatch.h.
Definition at line 48 of file RE_LightBatch.h.