Blender
V3.3
|
#include <DNA_light_types.h>
Friends | |
class | LightManager |
Additional Inherited Members | |
![]() | |
template<typename T > | |
void | set_if_different (const SocketType &input, T value) |
void | set_if_different (const SocketType &input, Node *value) |
template<typename T > | |
void | set_if_different (const SocketType &input, array< T > &value) |
void | set_if_different (const SocketType &input, array< Node * > &value) |
void | dereference_all_used_nodes () |
![]() | |
template<typename T > | |
static T & | get_socket_value (const Node *node, const SocketType &socket) |
![]() | |
const NodeOwner * | owner |
int | ref_count {0} |
SocketModifiedFlags | socket_modified |
Definition at line 26 of file DNA_light_types.h.
Light::Light | ( | ) |
Definition at line 142 of file scene/light.cpp.
References Node::dereference_all_used_nodes().
Definition at line 154 of file scene/light.cpp.
References Scene::default_light, Shader::has_surface_emission, LIGHT_BACKGROUND, scene, and zero_float3().
Referenced by LightManager::test_enabled_lights().
Definition at line 147 of file scene/light.cpp.
References Node::is_modified(), Scene::light_manager, LightManager::LIGHT_MODIFIED, scene, and LightManager::tag_update().
|
friend |
Definition at line 81 of file scene/light.h.
char Light::_pad0[4] |
Definition at line 44 of file DNA_light_types.h.
char Light::_pad2[2] |
Definition at line 47 of file DNA_light_types.h.
char Light::_pad6[4] |
Definition at line 69 of file DNA_light_types.h.
struct AnimData* Light::adt |
Animation data (must be immediately after id for utilities to use it).
Definition at line 31 of file DNA_light_types.h.
Referenced by acf_dslight_setting_ptr(), bc_getSceneLightAction(), light_blend_read_data(), light_blend_write(), make_new_animlistelem(), outliner_add_id_contents(), and AnimationImporter::translate_Animations().
short Light::area_shape |
Definition at line 57 of file DNA_light_types.h.
Referenced by apply_objects_internal(), blender::io::usd::USDLightWriter::do_write(), eevee_light_setup(), gizmo_area_light_prop_matrix_get(), gizmo_area_light_prop_matrix_set(), light_shape_parameters_set(), light_shape_power_get(), OVERLAY_light_cache_populate(), blender::io::usd::USDLightReader::read_object_data(), WIDGETGROUP_light_area_refresh(), and DocumentImporter::writeLight().
float Light::area_size |
Definition at line 58 of file DNA_light_types.h.
Referenced by apply_objects_internal(), BKE_object_obdata_size_init(), blender::io::usd::USDLightWriter::do_write(), gizmo_area_light_prop_matrix_get(), gizmo_area_light_prop_matrix_set(), light_shape_parameters_set(), OVERLAY_light_cache_populate(), blender::io::usd::USDLightReader::read_object_data(), and DocumentImporter::writeLight().
float Light::area_sizey |
Definition at line 58 of file DNA_light_types.h.
Referenced by apply_objects_internal(), BKE_object_obdata_size_init(), blender::io::usd::USDLightWriter::do_write(), gizmo_area_light_prop_matrix_get(), gizmo_area_light_prop_matrix_set(), light_shape_parameters_set(), OVERLAY_light_cache_populate(), blender::io::usd::USDLightReader::read_object_data(), and DocumentImporter::writeLight().
float Light::area_sizez |
Definition at line 58 of file DNA_light_types.h.
Referenced by apply_objects_internal(), BKE_object_obdata_size_init(), and DocumentImporter::writeLight().
float Light::area_spread |
Definition at line 59 of file DNA_light_types.h.
float Light::att1 |
Quad1 and Quad2 attenuation.
Definition at line 42 of file DNA_light_types.h.
Referenced by DocumentImporter::writeLight().
float Light::att2 |
Definition at line 42 of file DNA_light_types.h.
Referenced by DocumentImporter::writeLight().
float Light::att_dist |
Definition at line 83 of file DNA_light_types.h.
Referenced by light_attenuation_radius_get(), and OVERLAY_light_cache_populate().
float Light::b |
Definition at line 36 of file DNA_light_types.h.
Referenced by blender::io::usd::USDLightWriter::do_write(), eevee_light_setup(), LightsExporter::operator()(), blender::io::usd::USDLightReader::read_object_data(), and DocumentImporter::writeLight().
float Light::bias |
Definition at line 50 of file DNA_light_types.h.
Referenced by EEVEE_shadows_cascade_add(), EEVEE_shadows_cube_add(), and DocumentImporter::writeLight().
float Light::bleedbias |
Definition at line 52 of file DNA_light_types.h.
float Light::bleedexp |
Definition at line 53 of file DNA_light_types.h.
short Light::buffers |
Definition at line 54 of file DNA_light_types.h.
Referenced by blo_do_versions_pre250(), and DocumentImporter::writeLight().
char Light::bufflag |
Definition at line 55 of file DNA_light_types.h.
short Light::bufsize |
Definition at line 54 of file DNA_light_types.h.
Referenced by DocumentImporter::writeLight().
char Light::buftype |
Definition at line 55 of file DNA_light_types.h.
int Light::cascade_count |
Definition at line 75 of file DNA_light_types.h.
Referenced by EEVEE_shadows_cascade_add().
float Light::cascade_exponent |
Definition at line 73 of file DNA_light_types.h.
Referenced by EEVEE_shadows_cascade_add().
float Light::cascade_fade |
Definition at line 74 of file DNA_light_types.h.
Referenced by EEVEE_shadows_cascade_add().
float Light::cascade_max_dist |
Definition at line 72 of file DNA_light_types.h.
Referenced by EEVEE_shadows_cascade_add().
float Light::clipend |
Definition at line 49 of file DNA_light_types.h.
Referenced by DocumentImporter::writeLight().
float Light::clipsta |
Definition at line 49 of file DNA_light_types.h.
Referenced by EEVEE_shadows_cube_add(), OVERLAY_light_cache_populate(), and DocumentImporter::writeLight().
float Light::coeff_const |
Definition at line 43 of file DNA_light_types.h.
float Light::coeff_lin |
Definition at line 43 of file DNA_light_types.h.
float Light::coeff_quad |
Definition at line 43 of file DNA_light_types.h.
float Light::contact_bias |
Definition at line 78 of file DNA_light_types.h.
Referenced by eevee_contact_shadow_setup().
float Light::contact_dist |
Definition at line 77 of file DNA_light_types.h.
Referenced by eevee_contact_shadow_setup().
float Light::contact_spread |
Definition at line 79 of file DNA_light_types.h.
float Light::contact_thickness |
Definition at line 80 of file DNA_light_types.h.
Referenced by eevee_contact_shadow_setup().
struct CurveMapping* Light::curfalloff |
Definition at line 45 of file DNA_light_types.h.
Referenced by blo_do_versions_pre250(), light_blend_read_data(), light_blend_write(), light_copy_data(), light_free_data(), and light_init_data().
float Light::diff_fac |
Definition at line 82 of file DNA_light_types.h.
Referenced by eevee_light_setup().
float Light::dist |
Definition at line 39 of file DNA_light_types.h.
Referenced by BKE_object_obdata_size_init(), LightsExporter::operator()(), and DocumentImporter::writeLight().
struct Ipo* ipo Light::DNA_DEPRECATED |
Old animation system, deprecated for 2.5.
Definition at line 67 of file DNA_light_types.h.
float Light::energy |
Definition at line 39 of file DNA_light_types.h.
Referenced by blender::io::usd::USDLightWriter::do_write(), eevee_light_setup(), EEVEE_lights_cache_add(), gpencil_light_pool_populate(), light_emission_unify(), object_light_add_exec(), LightsExporter::operator()(), blender::io::usd::USDLightReader::read_object_data(), and DocumentImporter::writeLight().
short Light::falloff_type |
Definition at line 46 of file DNA_light_types.h.
Referenced by blo_do_versions_pre250(), LightsExporter::operator()(), and DocumentImporter::writeLight().
short Light::filtertype |
Definition at line 54 of file DNA_light_types.h.
short Light::flag |
Definition at line 33 of file DNA_light_types.h.
Referenced by acf_dslight_setting_ptr(), and DocumentImporter::writeLight().
float Light::g |
Definition at line 36 of file DNA_light_types.h.
Referenced by blender::io::usd::USDLightWriter::do_write(), eevee_light_setup(), LightsExporter::operator()(), blender::io::usd::USDLightReader::read_object_data(), and DocumentImporter::writeLight().
ID Light::id |
Definition at line 29 of file DNA_light_types.h.
Referenced by animdata_filter_ds_obdata(), BKE_light_eval(), BKE_node_tree_iter_step(), blo_do_versions_pre250(), blender::deg::DepsgraphNodeBuilder::build_light(), blender::deg::DepsgraphRelationBuilder::build_light(), blender::deg::DepsgraphRelationBuilder::build_object_data_light(), do_versions_ipos_to_animato(), gizmo_area_light_prop_matrix_set(), image_walk_id_all_users(), lamp_changed(), light_blend_read_lib(), light_blend_write(), light_copy_data(), light_free_data(), paste_mtex_exec(), AnimationImporter::translate_Animations(), and WIDGETGROUP_light_spot_refresh().
float Light::k |
Definition at line 36 of file DNA_light_types.h.
Referenced by DocumentImporter::writeLight().
int Light::mode |
Definition at line 34 of file DNA_light_types.h.
Referenced by eevee_contact_shadow_setup(), EEVEE_lights_cache_add(), light_attenuation_radius_get(), OVERLAY_light_cache_populate(), and DocumentImporter::writeLight().
Light::NODE_DECLARE |
Definition at line 31 of file scene/light.h.
struct bNodeTree* Light::nodetree |
Definition at line 89 of file DNA_light_types.h.
Referenced by animdata_filter_ds_obdata(), BKE_node_tree_iter_step(), blender::deg::DepsgraphNodeBuilder::build_light(), blender::deg::DepsgraphRelationBuilder::build_light(), ED_node_shader_default(), image_walk_id_all_users(), light_blend_write(), light_copy_data(), light_emission_node_to_energy(), light_foreach_id(), and light_free_data().
short Light::pr_texture |
Definition at line 68 of file DNA_light_types.h.
struct PreviewImage* Light::preview |
Definition at line 86 of file DNA_light_types.h.
Referenced by light_blend_read_data(), light_blend_write(), light_copy_data(), and light_free_data().
float Light::r |
Definition at line 36 of file DNA_light_types.h.
Referenced by blender::io::usd::USDLightWriter::do_write(), eevee_light_setup(), EEVEE_lights_cache_add(), gpencil_light_pool_populate(), light_emission_unify(), LightsExporter::operator()(), blender::io::usd::USDLightReader::read_object_data(), and DocumentImporter::writeLight().
short Light::samp |
Definition at line 54 of file DNA_light_types.h.
short Light::shadhalostep |
Definition at line 64 of file DNA_light_types.h.
float Light::shdwb |
Definition at line 37 of file DNA_light_types.h.
Referenced by DocumentImporter::writeLight().
float Light::shdwg |
Definition at line 37 of file DNA_light_types.h.
Referenced by DocumentImporter::writeLight().
float Light::shdwpad |
Definition at line 37 of file DNA_light_types.h.
float Light::shdwr |
Definition at line 37 of file DNA_light_types.h.
Referenced by DocumentImporter::writeLight().
float Light::soft |
Definition at line 51 of file DNA_light_types.h.
Referenced by DocumentImporter::writeLight().
float Light::spec_fac |
Definition at line 83 of file DNA_light_types.h.
Referenced by blender::io::usd::USDLightWriter::do_write(), eevee_light_setup(), and blender::io::usd::USDLightReader::read_object_data().
float Light::spotblend |
Definition at line 39 of file DNA_light_types.h.
Referenced by gpencil_light_pool_populate(), light_shape_parameters_set(), LightsExporter::operator()(), OVERLAY_light_cache_populate(), blender::io::usd::USDLightReader::read_object_data(), and DocumentImporter::writeLight().
float Light::spotsize |
Definition at line 39 of file DNA_light_types.h.
Referenced by BKE_camera_params_from_object(), gpencil_light_pool_populate(), light_shape_parameters_set(), LightsExporter::operator()(), OVERLAY_light_cache_populate(), blender::io::usd::USDLightReader::read_object_data(), WIDGETGROUP_light_target_draw_prepare(), and DocumentImporter::writeLight().
float Light::sun_angle |
Definition at line 61 of file DNA_light_types.h.
Referenced by light_shape_parameters_set(), and blender::io::usd::USDLightReader::read_object_data().
short Light::texact |
Definition at line 64 of file DNA_light_types.h.
short Light::type |
Definition at line 33 of file DNA_light_types.h.
Referenced by apply_objects_internal(), blender::io::usd::USDLightWriter::do_write(), eevee_light_setup(), EEVEE_lights_cache_add(), gpencil_light_pool_populate(), blender::io::usd::USDLightWriter::is_supported(), light_emission_unify(), light_power_get(), light_shape_parameters_set(), light_shape_power_get(), light_shape_power_volume_get(), lineart_main_try_generate_shadow(), object_is_target_compat(), object_light_add_exec(), LightsExporter::operator()(), OVERLAY_light_cache_populate(), blender::io::usd::USDLightReader::read_object_data(), select_grouped_lighttype(), tree_element_get_icon_from_id(), WIDGETGROUP_light_area_poll(), WIDGETGROUP_light_spot_poll(), WIDGETGROUP_light_target_draw_prepare(), WIDGETGROUP_light_target_poll(), and DocumentImporter::writeLight().
short Light::use_nodes |
Definition at line 68 of file DNA_light_types.h.
Referenced by image_walk_id_all_users(), light_emission_node_to_energy(), and light_emission_unify().
float Light::volume_fac |
Definition at line 82 of file DNA_light_types.h.
Referenced by eevee_light_setup().