|
Blender V4.3
|
#include <eevee_world.hh>
Public Member Functions | |
| World (Instance &inst) | |
| bool | has_volume () const |
| bool | has_volume_absorption () const |
| bool | has_volume_scatter () const |
| float | sun_angle () |
| float | sun_shadow_max_resolution () |
| float | sun_shadow_filter_radius () |
| float | sun_shadow_jitter_overblur () |
| bool | use_sun_shadow () |
| bool | use_sun_shadow_jitter () |
Public Attributes | |
| UniformBuffer< LightData > | sunlight = {"sunlight"} |
World | |
| ~World () | |
| void | sync () |
| float | sun_threshold () |
Definition at line 50 of file eevee_world.hh.
|
inline |
Definition at line 78 of file eevee_world.hh.
| World::~World | ( | ) |
Definition at line 60 of file eevee_world.cc.
References BKE_id_free().
|
inline |
Definition at line 83 of file eevee_world.hh.
Referenced by blender::eevee::VolumeModule::end_sync().
|
inline |
Definition at line 88 of file eevee_world.hh.
Referenced by blender::eevee::LightModule::begin_sync(), and blender::eevee::VolumeModule::end_sync().
|
inline |
Definition at line 93 of file eevee_world.hh.
Referenced by blender::eevee::VolumeModule::end_sync().
|
inline |
Definition at line 100 of file eevee_world.hh.
References sun_angle().
Referenced by blender::eevee::LightModule::begin_sync(), and sun_angle().
|
inline |
Definition at line 110 of file eevee_world.hh.
References sun_shadow_filter_radius().
Referenced by blender::eevee::LightModule::begin_sync(), and sun_shadow_filter_radius().
|
inline |
Definition at line 115 of file eevee_world.hh.
References sun_shadow_jitter_overblur().
Referenced by blender::eevee::LightModule::begin_sync(), and sun_shadow_jitter_overblur().
|
inline |
Definition at line 105 of file eevee_world.hh.
Referenced by blender::eevee::LightModule::begin_sync().
| float World::sun_threshold | ( | ) |
Definition at line 84 of file eevee_world.cc.
References blender::eevee::Instance::is_baking(), View3D::shading, View3DShading::studiolight_intensity, sun_threshold(), blender::eevee::Instance::use_studio_light(), and blender::eevee::Instance::v3d.
Referenced by blender::eevee::LightModule::begin_sync(), blender::eevee::Sampling::init(), and sun_threshold().
| void World::sync | ( | ) |
Definition at line 99 of file eevee_world.cc.
References blender::assign_if_different(), blender::eevee::PipelineModule::background, blender::eevee::LookdevWorld::background_blur_get(), blender::eevee::Film::background_opacity_get(), blender::eevee::LookdevWorld::background_opacity_get(), DEG_get_original_id(), blender::eevee::Instance::film, World::id, ViewLayer::layflag, blender::eevee::Instance::light_probes, blender::eevee::Instance::manager, blender::eevee::MAT_PIPE_DEFERRED, World::nodetree, blender::eevee::DefaultWorldNodeTree::nodetree_get(), blender::eevee::Instance::pipelines, blender::eevee::BaseHandle::recalc, blender::draw::Manager::register_layer_attributes(), SCE_LAY_SKY, blender::eevee::Instance::scene, blender::eevee::Instance::shaders, blender::eevee::BackgroundPipeline::sync(), blender::eevee::Instance::sync, blender::eevee::LookdevWorld::sync(), blender::eevee::WorldPipeline::sync(), blender::eevee::LightProbeModule::sync_world(), blender::eevee::SyncModule::sync_world(), World::use_nodes, blender::eevee::Instance::use_studio_light(), blender::eevee::Instance::v3d, blender::eevee::Instance::view_layer, blender::eevee::PipelineModule::world, Scene::world, blender::eevee::LookdevWorld::world_get(), and blender::eevee::ShaderModule::world_shader_get().
|
inline |
Definition at line 120 of file eevee_world.hh.
References WO_USE_SUN_SHADOW.
Referenced by blender::eevee::LightModule::begin_sync().
|
inline |
Definition at line 125 of file eevee_world.hh.
References WO_USE_SUN_SHADOW_JITTER.
Referenced by blender::eevee::LightModule::begin_sync().
| UniformBuffer<LightData> blender::eevee::World::sunlight = {"sunlight"} |
Buffer containing the sun light for the world. Filled by #LightProbeModule and read by #LightModule.
Definition at line 55 of file eevee_world.hh.
Referenced by blender::eevee::SphereProbeModule::begin_sync().