Blender V2.61 - r43446
Public Member Functions | Public Attributes

Light Class Reference

#include <light.h>

List of all members.

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

Detailed Description

Definition at line 34 of file light.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void Light::tag_update ( Scene scene)

Definition at line 51 of file light.cpp.

References Scene::light_manager, and LightManager::need_update.


Member Data Documentation

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().

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().

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().


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