![]() |
Blender V2.61 - r43446
|
#include <light.h>
Public Member Functions | |
| Light () | |
| void | tag_update (Scene *scene) |
Public Attributes | |
| LightType | type |
| float3 | co |
| float3 | dir |
| float | size |
| float3 | axisu |
| float | sizeu |
| float3 | axisv |
| float | sizev |
| bool | cast_shadow |
| int | shader |
| CCL_NAMESPACE_BEGIN Light::Light | ( | ) |
Definition at line 33 of file light.cpp.
References axisu, axisv, cast_shadow, co, dir, LIGHT_POINT, make_float3(), shader, size, sizeu, sizev, and type.
| void Light::tag_update | ( | Scene * | scene | ) |
Definition at line 51 of file light.cpp.
References Scene::light_manager, and LightManager::need_update.
Definition at line 44 of file light.h.
Referenced by LightManager::device_update_points(), and Light().
Definition at line 46 of file light.h.
Referenced by LightManager::device_update_points(), and Light().
| bool Light::cast_shadow |
Definition at line 49 of file light.h.
Referenced by LightManager::device_update_points(), and Light().
Definition at line 39 of file light.h.
Referenced by LightManager::device_update_points(), Light(), and xml_read_light().
Definition at line 41 of file light.h.
Referenced by LightManager::device_update_points(), and Light().
| int Light::shader |
Definition at line 51 of file light.h.
Referenced by Light(), and xml_read_light().
| float Light::size |
Definition at line 42 of file light.h.
Referenced by LightManager::device_update_points(), and Light().
| float Light::sizeu |
Definition at line 45 of file light.h.
Referenced by LightManager::device_update_points(), and Light().
| float Light::sizev |
Definition at line 47 of file light.h.
Referenced by LightManager::device_update_points(), and Light().
Definition at line 38 of file light.h.
Referenced by LightManager::device_update_points(), and Light().