|
Blender V5.3
|
#include <eevee_light_shared.hh>
Inherited by blender::eevee::Light.
Classes | |
| union | [union].__unnamed0__ |
Public Member Functions | |
| float3 | x_axis () const |
| float3 | y_axis () const |
| float3 | z_axis () const |
| float3 | position () const |
| int | tilemap_max_get () const |
| int | local_tilemap_count () const |
Public Attributes | |
| struct Transform | object_to_world |
| float4 | power_factor |
| float | shape_power |
| float | point_power |
| uint | resource_id |
| enum LightFlag | flags |
| packed_float3 | color |
| enum eLightType | type |
| int | clip_near |
| int | clip_far |
| int | tilemap_index |
| float | filter_radius |
| float | lod_bias |
| float | lod_min |
| uint2 | light_set_membership |
| union | |
Definition at line 183 of file eevee_light_shared.hh.
|
inline |
Definition at line 254 of file eevee_light_shared.hh.
References EEVEE_PI, blender::eevee::is_area_light(), blender::eevee::is_spot_light(), and tanf.
Referenced by blender::eevee::ShadowPunctual::end_sync(), and blender::eevee::ShadowPunctual::release_excess_tilemaps().
|
inline |
Definition at line 239 of file eevee_light_shared.hh.
References object_to_world.
|
inline |
Definition at line 244 of file eevee_light_shared.hh.
References blender::eevee::is_sun_light().
|
inline |
Definition at line 227 of file eevee_light_shared.hh.
References object_to_world.
|
inline |
Definition at line 231 of file eevee_light_shared.hh.
References object_to_world.
|
inline |
Definition at line 235 of file eevee_light_shared.hh.
References object_to_world.
| int blender::eevee::LightData::clip_far |
Definition at line 208 of file eevee_light_shared.hh.
Referenced by blender::eevee::ShadowDirectional::end_sync(), and blender::eevee::ShadowPunctual::end_sync().
| int blender::eevee::LightData::clip_near |
— Shadow Data — Near clip distances. Float stored as orderedIntBitsToFloat for atomic operations.
Definition at line 207 of file eevee_light_shared.hh.
Referenced by blender::eevee::ShadowDirectional::end_sync(), and blender::eevee::ShadowPunctual::end_sync().
| packed_float3 blender::eevee::LightData::color |
Light Color.
Definition at line 201 of file eevee_light_shared.hh.
Referenced by blender::io::fbx::FbxImportContext::import_lights(), and blender::eevee::Light::sync().
| float blender::eevee::LightData::filter_radius |
Definition at line 212 of file eevee_light_shared.hh.
Referenced by blender::eevee::Light::sync().
| enum LightFlag blender::eevee::LightData::flags |
Definition at line 198 of file eevee_light_shared.hh.
Referenced by blender::eevee::Light::sync().
| uint2 blender::eevee::LightData::light_set_membership |
Definition at line 218 of file eevee_light_shared.hh.
Referenced by blender::eevee::Light::sync().
| float blender::eevee::LightData::lod_bias |
Definition at line 215 of file eevee_light_shared.hh.
Referenced by blender::eevee::Light::sync().
| float blender::eevee::LightData::lod_min |
Definition at line 217 of file eevee_light_shared.hh.
Referenced by blender::eevee::Light::sync().
| struct Transform blender::eevee::LightData::object_to_world |
Normalized object to world matrix. Stored transposed for compactness. Used for shading and shadowing local lights, or shadowing sun lights. IMPORTANT: Not used for shading sun lights as this matrix is jittered.
Definition at line 189 of file eevee_light_shared.hh.
Referenced by blender::eevee::Light::debug_draw(), blender::eevee::ShadowPunctual::end_sync(), position(), blender::eevee::Light::sync(), x_axis(), y_axis(), and z_axis().
| float blender::eevee::LightData::point_power |
Definition at line 194 of file eevee_light_shared.hh.
Referenced by blender::eevee::Light::sync().
| float4 blender::eevee::LightData::power_factor |
Power depending on shader type. Referenced by LightingType.
Definition at line 192 of file eevee_light_shared.hh.
Referenced by blender::eevee::Light::sync().
| uint blender::eevee::LightData::resource_id |
Definition at line 196 of file eevee_light_shared.hh.
Referenced by blender::eevee::LightModule::sync_light().
| float blender::eevee::LightData::shape_power |
Definition at line 193 of file eevee_light_shared.hh.
Referenced by blender::eevee::Light::sync().
| int blender::eevee::LightData::tilemap_index |
Index of the first tile-map. Set to LIGHT_NO_SHADOW if light is not casting shadow.
Definition at line 210 of file eevee_light_shared.hh.
Referenced by blender::eevee::ShadowModule::debug_end_sync(), blender::eevee::ShadowDirectional::end_sync(), blender::eevee::ShadowPunctual::end_sync(), and blender::draw::test_eevee_shadow_tilemap_amend().
| enum eLightType blender::eevee::LightData::type |
Definition at line 203 of file eevee_light_shared.hh.
Referenced by blender::ed::object::apply_objects_internal(), blender::eevee::LightModule::begin_sync(), blender::BKE_light_area(), blender::blo_do_versions_270(), blender::blo_do_versions_280(), blender::blo_do_versions_400(), blender::blo_do_versions_402(), blender::io::hydra::build_light_params_data_source(), determine_geom_type(), blender::do_versions_after_linking_400(), blender::io::usd::USDLightWriter::do_write(), blender::eevee::LightModule::end_sync(), blender::eevee::ShadowPunctual::end_sync(), blender::draw::gpencil::gpencil_light_pool_populate(), blender::io::fbx::FbxImportContext::import_lights(), blender::eevee::Light::Light(), blender::light_blend_write(), blender::light_emission_unify(), blender::draw::gpencil::light_power_get(), blender::io::hydra::light_prim_type(), blender::lineart_main_try_generate_shadow_v3(), blender::ed::object::object_is_target_compat(), blender::ed::object::object_light_add_exec(), blender::draw::overlay::Lights::object_sync(), blender::io::usd::USDLightReader::read_object_data(), blender::ed::object::select_grouped_lighttype(), blender::eevee::Light::shadow_ensure(), blender::eevee::Light::sync(), blender::eevee::LightModule::sync_light(), blender::draw::test_eevee_shadow_tilemap_amend(), blender::ed::outliner::tree_element_get_icon_from_id(), blender::WIDGETGROUP_light_area_poll(), blender::WIDGETGROUP_light_point_poll(), blender::WIDGETGROUP_light_spot_poll(), blender::WIDGETGROUP_light_target_draw_prepare(), and blender::WIDGETGROUP_light_target_poll().